Shares of Vroom Inc. rallied more than 12% in after-hours trading Wednesday after the online used-car retailer reported a narrower-than-expected first-quarter loss and sales that came above forecast, saying demand for its online car-buying model remains strong.