Income Taxes - Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Income taxes | ||
| Pre-change net operating losses that can be used in future years | $ 13,500 | |
| Net operating losses post-change years are not subject to limitation | 2,200,000 | |
| Amount of net operating loss carryforwards that will expire due to IRC Section 382 limitations | 20,700 | |
| Un-repatriated foreign earnings | 0 | |
| Deferred tax assets, U.S. net operating loss carryforwards | 2,200,000 | |
| Net operating loss carryforwards | 469,337 | $ 305,510 |
| Restated adjustment | ||
| Income taxes | ||
| Deferred tax assets, U.S. net operating loss carryforwards | 2,000,000 | |
| Foreign | ||
| Income taxes | ||
| Net operating loss carryforwards | 25,373 | $ 7,720 |
| Foreign | French | ||
| Income taxes | ||
| Unused net operating loss carryforwards | 67,800 | |
| Foreign | Canada | ||
| Income taxes | ||
| Net operating loss carryforwards | 2,400 | |
| Foreign | Netherlands | ||
| Income taxes | ||
| Unused net operating loss carryforwards | $ 31,100 |