Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Fair Value Recurring (Details)

v3.23.2
Fair Value Measurements - Fair Value Recurring (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Dec. 31, 2022
Property, Plant and Equipment [Line Items]          
Derivative liabilities $ 840   $ 840   $ 1,892
Mark-to-market adjustments of derivatives liabilities, income (expense) 2,400   1,100    
Fair Value, Recurring          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 59,722   59,722   31,993
Fair Value, Recurring | Notes          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 58,883   58,883   30,100
Fair Value, Recurring | Earnout Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 264   264   1,459
Fair Value, Recurring | Switchback Founder Earn Back Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 24   24   125
Fair Value, Recurring | Warrants          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 551   551   309
Fair Value, Recurring | Level 1          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 511   511   108
Fair Value, Recurring | Level 1 | Notes          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Mark-to-market adjustments of derivatives liabilities, income (expense) 5,700 $ 0 900 $ 0 0
Fair Value, Recurring | Level 1 | Earnout Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 1 | Switchback Founder Earn Back Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 1 | Warrants          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 511   511   108
Fair Value, Recurring | Level 2          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 2 | Notes          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 2 | Earnout Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 2 | Switchback Founder Earn Back Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 2 | Warrants          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 0   0   0
Fair Value, Recurring | Level 3          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 59,211   59,211   31,885
Fair Value, Recurring | Level 3 | Notes          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 58,883   58,883   30,100
Fair Value, Recurring | Level 3 | Earnout Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 264   264   1,459
Fair Value, Recurring | Level 3 | Switchback Founder Earn Back Shares          
Property, Plant and Equipment [Line Items]          
Derivative liabilities 24   24   125
Fair Value, Recurring | Level 3 | Warrants          
Property, Plant and Equipment [Line Items]          
Derivative liabilities $ 40   $ 40   $ 201