Ride-hailing company Lyft’s bookings and ridership soared during the first quarter of 2017 while its competitor, Uber, has gone through a tumultuous few months with a series of scandals and rider defections.

The two San Francisco-based companies are locked in an intense competition to dominate the market. As Uber has struggled through one damaging revelation after another in recent months that led to calls to delete the Uber app, Lyft benefited from people looking for another way to quickly order…