Birchbox is no longer in the red.

The online subscription beauty retailer has achieved profitability, MediaPost reported, and is returning to television advertising with a spot that speaks to the joy the company’s monthly beauty box brings to its customers.

Founded in 2010, Birchbox had a tough 2016 during which it cut costs and laid off staff. But investments in technology and automation have helped…