Fair Value Measurement - Changes in the fair value of Company's Level 3 warrant and derivative liability (Details) - Warrant and Derivative Liability - USD ($) $ in Thousands |
12 Months Ended | |
---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
|
Changes in the fair value of Company's Level 3 financial liabilities | ||
Beginning Balance | $ 30,566 | $ 5,617 |
Initial fair value of Series s Preferred Stock warrants | 10,564 | |
Expired warrants | (14) | |
Initial fair value of Class A Common Stock warrants | 1,818 | |
Exercise of warrants | (370) | (1,319) |
Revaluation of Class A common stock, Series B, m-1, m-3 and s Preferred Stock warrants | (20,857) | 15,718 |
Ending Balance | $ 11,157 | $ 30,566 |