v3.22.2.2
Segment and geographic area information - Reconciliation Between Segment Gross Profit to Condensed Consolidated Net Loss (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Segment Reporting [Abstract]        
Segment gross profit $ 19,908 $ 19,939 $ 77,406 $ 55,366
Selling, general and administrative expenses 53,913 110,492 138,831 145,882
Loss on derivative liabilities, net 0 0 0 48,603
Change in fair value - warrant liabilities (3,192) 0 (4,457) 0
Interest expense, net 12,620 41,897 13,442 59,165
Other expense (income), net 2,567 (2,035) 1,953 (1,415)
Provision (benefit) for income taxes 14,010 (222) 20,061 693
Net loss $ (60,010) $ (130,193) $ (92,424) $ (197,562)