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) |
X | ||||||||||
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition The net amount of operating interest income (expense). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|