Fair Value Measurements - Warrants (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Units | ||||
| Redeemable warrants, beginning balance (in shares) | 19,429,167 | |||
| Warrants exercised (in shares) | (10,616,261) | |||
| Exchange of warrants into common stock (in shares) | (4,630,163) | |||
| Forfeiture of fractional warrants (in shares) | (13) | |||
| Fair value remeasurement (in shares) | 0 | |||
| Redeemable warrants, ending balance (in shares) | 4,182,730 | 4,182,730 | ||
| $ | ||||
| Redeemable warrants, beginning balance | $ 49,933 | |||
| Warrants exercised | (35,837) | |||
| Exchange of warrants into common stock | (7,828) | |||
| Forfeiture of fractional warrants | 0 | |||
| Fair value remeasurement | $ 29,564 | $ 0 | 6,447 | $ 0 |
| Redeemable warrants, ending balance | $ 12,715 | $ 12,715 | ||