The perpendicular bisector of a line segment AB passes through the origin and (0,1). If the coordinates of A are (-2, 0) then the distance of point B from the origin is ___ units.