Fair Value Measurement - Schedule of Liabilities Measured at Fair Value (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Warrants | |||
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |||
| Balance at beginning of the period | $ 27,406 | $ 0 | $ 0 |
| Additions | 55,330 | 0 | |
| Change in fair value of derivatives - related party | (27,924) | 0 | |
| Balance at end of the period | 27,406 | 0 | |
| Embedded derivatives | |||
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |||
| Balance at beginning of the period | 4,423 | 1,945 | $ 12,359 |
| Additions | 30,619 | 466 | |
| Change in fair value of derivatives - related party | (28,141) | (10,880) | |
| Balance at end of the period | $ 4,423 | $ 1,945 | |