Text this: Distance estimation through wavefront curvature in cellular systems