What happened

Shares of Lyft (LYFT 1.14%) were staging a comeback last month, after the No. 2 ridesharing service gained alongside rival Uber (UBER 2.64%), following Uber's first-quarter earnings report and a round of positive analyst ratings after its quiet period ended. Toward the end of the month, the stock got another boost as Lyft's partnership with Alphabet's (GOOG 1.25%) (GOOGL 1.27%) Waymo began to take shape. 

According to data from S&P Global Market Intelligence, the stock finished the month up 14%.

Two women chat in the front of a Lyft car.

Image source: Lyft

The stock was once again volatile but finished the month on an upswing:

LYFT Chart

LYFT data by YCharts

So what 

Lyft started off the month on a strong note as it rose with Uber, following comments from Uber CEO Dara Khosrowshahi about the easing of the price war between the two companies. Investors took that as good news for Lyft as well as Uber, since both companies are putting up huge losses as they battle for market share, and higher prices should help them cut their losses.

Lyft also tacked on 6.5% on June 5, when several analysts initiated "buy" ratings on Uber, some of which shared warm words about Lyft as well, being optimistic about the potential for autonomous vehicles and the greater mobility economy, an opportunity that favors both Uber and Lyft. 

The stock gave up those gains over the next few sessions but then got another boost when Susquehanna upgraded the stock to "positive" on June 11, citing the company's cost leverage and the growth opportunity in mobility and transportation.   

Finally, at the end of the month, the stock gained over the last two sessions after Lyft launched its partnership with Waymo's AV ridesharing service in Phoenix in a pilot program to pick up Lyft riders. Though the news itself isn't likely to change Lyft's prospects, its partnership with Waymo has a lot of potential, and its relationships with AV tech companies and automakers give it an edge over Uber.

Now what 

Despite another analyst endorsement in July, from a Stifel analyst who said Lyft was a better buy over Uber, the stock has given up some of last month's gains. That's a sign that valuation concerns will continue to dictate the stock's path until the company can ease concerns about its losses and its future growth as it battles for market share with Uber. Today, Lyft trades nearly 15% below its $72 IPO price, meaning it remains a broken IPO.