Tangent to the ellipse x24+y2=1 at the point P(√2,1√2) touches the circle x2+y2=r2 at the point Q. Then the length of PQ is