Investors found many good reasons to like Shopify (SHOP 4.90%) in recent weeks. The e-commerce platform specialist reported solid operating results to start fiscal 2023, and its earnings prospects have improved with its pivot away from the costly shipping-logistics business. Shares responded by soaring in the wake of management's early May earnings update.

Yet investors might still be facing sticker shock from Shopify's pricey valuation. Let's look at a few reasons shares seem like a good buy, even following the latest rally.

1. Concrete results

Wall Street's attention focused on Shopify's strategic pivot away from the logistics business, mainly because this move is likely to accelerate the company's return to profitability. Executives admitted to overextending themselves on spending in 2022, and the sale of the logistics platform represents an aggressive shift toward a simpler, more efficient business.

But investors also have concrete reasons to be optimistic about Shopify's current growth trends. Sales volumes rose a healthy 18% through late March. The company saw strong demand for its subscription services, too, despite recent price increases.

2. Improving cash outlook

Shopify is still booking losses, which remains a key concern for investors. Gross profit margin declined to 48% of sales from 53% of sales a year ago.

Most of this drop was powered by its growing payments-processing service, though, which isn't as profitable as its core services. Adjusted operating loss was 2% of revenue, compared to a 4% profit in the previous quarter.

SHOP Operating Margin (TTM) Chart

SHOP Operating Margin (TTM) data by YCharts. TTM = trailing 12 months.

Shopify's cash-flow trends are finally heading in the right direction. Management is calling for positive cash flow in each quarter of the new fiscal year, in fact, which would mark a big step back toward sustainable profitability. Operating expenses have now stabilized, chief financial officer Jeff Hoffmeister said in a conference call with investors. "This directly reflects our focus ... to drive increased productivity and efficiency," Hoffmeister said.

3. Customer satisfaction

Shopify's ability to grow into its premium valuation will depend on the platform's success at deepening its relationship with a growing base of customers. It will face intense competition on this score from companies aiming to win merchants over.

But there are signs of enduring competitive advantages in Shopify's e-commerce platform. The company's "attach rate," which describes average merchant spending for a given level of sales volume, hit a record high in the first quarter. "Merchants continue to buy more and more solutions from us," Hoffmeister said.

Cautious investors have many reasons to wait when considering Shopify stock, including its current net losses and the stock's price-to-sales ratio of 13. Microsoft shares are valued at 11 times revenue, for context.

Yet growth-focused investors should consider keeping Shopify on their watch lists -- if not in their portfolios -- right now. The company is positioned for a return to profitability soon, and the platform has a shot at meaningfully adding to its current market share of around 10% of e-commerce volumes in the core U.S. market. A cloudy economic outlook for the next few quarters shouldn't scare investors away from what appears to be a very positive long-term growth story for Shopify.