Quarterly report pursuant to Section 13 or 15(d)

Long-term Debt - Narrative - Term Loan Agreements (Details)

v3.22.2.2
Long-term Debt - Narrative - Term Loan Agreements (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Dec. 31, 2020
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Debt Instrument [Line Items]            
Warrants to purchase shares of common stock (in shares)   16,877,907   16,877,907   16,877,907
Public warrant liability $ 1 $ 5,587   $ 5,587   $ 11,030
Unamortized debt discount   45   45   $ 55
JPM Credit Agreement            
Debt Instrument [Line Items]            
Face amount of debt $ 10,000          
Interest rate 4.50%          
Warrants to purchase shares of common stock (in shares) 377,837          
Warrants exercise price (in dollars per share) $ 0.42          
Public warrant liability $ 100          
Debt issuances costs 100     100    
Unamortized debt discount   100   100    
Interest expense   $ 200 $ 200 $ 300 $ 300  
Revolving line of credit outstanding            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 10,000          
Wall Street Journal Prime Rate | JPM Credit Agreement            
Debt Instrument [Line Items]            
Interest rate 1.25%          
Maximum | JPM Credit Agreement            
Debt Instrument [Line Items]            
Interest rate 5.50% 5.75%   5.75%    
Amortization of the debt discount   $ 100 $ 100 $ 100    
Maximum | Wall Street Journal Prime Rate | JPM Credit Agreement            
Debt Instrument [Line Items]            
Interest rate 2.25%