Just over a year after Travis Kalanick was ousted as chief executive of Uber, the ride-hailing company released new financial results that showed continued growth and narrowing losses as it advances toward an initial public offering.

On Wednesday, Uber posted a loss of $891 million for the second quarter, compared with a loss of more than $1 billion during the same period a year earlier. The company took in $12.01 billion in gross bookings in the quarter — or the amount of passenger fares and food delivery fees — up 41 percent from a year ago. After paying out fees to drivers, revenue was $2.7 billion. When Uber turned a profit last quarter because it offloaded businesses in Russia and Southeast Asia, it cautioned that that bump would not last because it planned to reinvest the money.

Uber is not required to disclose earnings because it is privately held, but it has made a habit of publicly releasing its numbers. Investors are closely scrutinizing Uber’s financials because the company is one of the world’s most highly valued private firms, at $62 billion, and is preparing to go public by the end of 2019. Its I.P.O. is expected to be one of the biggest ever for a tech company.