Wayfair Inc., the well-known online furniture retailer, reported a significant reduction in its quarterly losses, exceeding Wall Street's forecasts for both revenue and earnings. The company's shares surged by over 10% in Thursday morning trading, reflecting investor optimism spurred by these stronger-than-expected results.

For the first quarter, Wayfair announced that its net loss had narrowed to $248 million, or $2.06 per share, a substantial improvement from the $355 million, or $3.22 per share, reported in the same period last year. Adjusted for one-time items, the loss stood at 32 cents per share, bettering the 44 cents per share loss analysts had anticipated.

Despite a slight decline in revenue to $2.73 billion from $2.77 billion a year earlier, the figures still topped expectations of $2.64 billion. This was partly due to a decrease in international sales, particularly in Wayfair's segments outside the United States, which saw a nearly 6% drop.

Wayfair's CEO, Niraj Shah, expressed optimism about the company's trajectory, stating, "The first quarter ended on an upswing. Shoppers are increasingly choosing Wayfair, with year-over-year active customer growth once again positive and accelerating compared to last quarter." He highlighted new product introductions by suppliers as a positive sign of potential growth.

This upbeat sentiment comes after Wayfair undertook significant restructuring efforts, including a 13% reduction in its global workforce earlier in the year, aiming to streamline operations and reduce costs. These measures were expected to save approximately $280 million annually.

The layoffs, the third such cuts since the summer of 2022, were a response to the post-pandemic normalization of consumer behavior, which saw a shift away from home furnishings to spending on experiences like dining out and travel. These strategic decisions appear to be bearing fruit as Wayfair reported a $107 million reduction in losses for the quarter.

Furthermore, Wayfair saw its active customer base grow by 2.8% to 22.3 million, slightly above analyst expectations. The average order value was reported at $285 for the quarter, a minor decrease from the previous year but still higher than Wall Street forecasts.

Despite these positive indicators, some challenges remain. The average net revenue per customer and the number of orders per customer experienced fluctuations, pointing to ongoing volatility in consumer spending patterns. Nonetheless, mobile transactions continued to grow, representing 63.1% of total orders delivered during the quarter.

Looking ahead, Wayfair is poised to leverage its enhanced fulfillment capabilities and expanded product offerings to capitalize on emerging market opportunities. The company remains focused on navigating the sluggish housing market and high interest rates that have generally dampened the home goods sector.