v3.24.0.1
Fair Value Measurement - Schedule of Estimated Fair Value of Financial Instruments Not Carried at Fair Value (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value $ 203,859 $ 175,831
Carrying Value 204,722 176,694
Notes receivable    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 863 863
2021 Convertible Notes Payable    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 94,386 82,950
Senior Secured Term Loan    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 85,624 81,616
AFG Convertible Notes    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 18,139 0
Equipment financing facility    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 5,710 8,577
Yorkville Convertible Notes    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Carrying Value 0 2,688
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 143,255 149,864
Level 3 | Notes receivable    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 719 677
Level 3 | 2021 Convertible Notes Payable    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 57,998 62,421
Level 3 | Senior Secured Term Loan    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 61,360 77,576
Level 3 | AFG Convertible Notes    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 18,352 0
Level 3 | Equipment financing facility    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value 4,826 6,282
Level 3 | Yorkville Convertible Notes    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value $ 0 $ 2,908