Quarterly report pursuant to Section 13 or 15(d)

Notes Payable - Notes Payable and Debt Issuance Costs (Details)

v3.23.2
Notes Payable - Notes Payable and Debt Issuance Costs (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Feb. 15, 2023
Jun. 30, 2023
Dec. 31, 2022
Debt Instrument [Line Items]      
Other loan and borrowings   $ 350 $ 350
Total Debt   64,871 59,728
Less: Debt discount and debt issuance costs   7,835  
Less: Current portion of notes payable   (11,532) (59,378)
Total debt, net of discount, net of current portion   $ 45,504 350
Senior Notes      
Debt Instrument [Line Items]      
Total Debt $ 0   $ 2,159
Debt Instrument, Interest Rate During Period     16.00%
Junior Notes      
Debt Instrument [Line Items]      
Total Debt     $ 46,497
Debt Instrument, Interest Rate During Period     8.00%
Notes Payable 2023 [Member]      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate During Period   24.75%  
2023 Refinanced Notes      
Debt Instrument [Line Items]      
Total Debt   $ 40,420  
Less: Debt discount and debt issuance costs   $ 7,351  
Debt Instrument, Interest Rate During Period   24.75%  
Debt Instrument, Term 36 months    
Debt issuance costs related to the Revolving Facility $ 649    
2023 New Notes      
Debt Instrument [Line Items]      
Total Debt   $ 8,963  
Debt Instrument, Interest Rate During Period   24.75%  
Debt Instrument, Term 48 months    
2023 Bridge Note      
Debt Instrument [Line Items]      
Total Debt   $ 4,563  
Debt Instrument, Interest Rate During Period   16.75%  
Revolving Facility      
Debt Instrument [Line Items]      
Total Debt   $ 10,575 $ 10,722
Debt Instrument, Interest Rate During Period   11.25%  
Debt Instrument, Term   1 year  
Debt issuance costs related to the Revolving Facility   $ 33