Quarterly report pursuant to Section 13 or 15(d)

Long-term Debt - JPM Credit Agreement (Details)

v3.21.2
Long-term Debt - JPM Credit Agreement (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Dec. 31, 2020
Sep. 30, 2021
Sep. 30, 2021
Mar. 31, 2020
Jul. 05, 2017
Debt Instrument [Line Items]          
Loss on extinguishment of debt   $ (865) $ (12,685)    
Warrants to purchase shares of common stock 1,938,096 14,325,000 14,325,000    
Unamortized debt discount $ 118 $ 63 $ 63    
JPM Credit Agreement          
Debt Instrument [Line Items]          
Face amount of debt 10,000        
Maximum borrowing capacity 5,000        
Loss on extinguishment of debt $ 100        
Warrants to purchase shares of common stock 378,000        
Warrants exercise price $ 0.42        
Fair value of warrants $ 100        
Debt issuances costs $ 100   100    
Unamortized debt discount   100 100    
Interest expense   $ 200 $ 600    
Interest rate 4.50% 4.50% 4.50%    
Amount drawn   $ 5,400 $ 5,400    
Revolving line of credit outstanding          
Debt Instrument [Line Items]          
Face amount of debt $ 3,000     $ 7,000 $ 1,000
Maximum borrowing capacity $ 10,000        
2020 SVB Term Loan          
Debt Instrument [Line Items]          
Face amount of debt       $ 5,000  
Warrants to purchase shares of common stock   280,095 280,095    
Warrants exercise price   $ 0.40 $ 0.40    
Fair value of warrants   $ 100 $ 100    
Debt issuances costs     $ 100    
Interest rate   5.00% 5.00%    
Wall Street Journal Prime Rate | JPM Credit Agreement          
Debt Instrument [Line Items]          
Interest rate 1.25%        
Wall Street Journal Prime Rate | 2020 SVB Term Loan          
Debt Instrument [Line Items]          
Interest rate   0.50% 0.50%    
Maximum | JPM Credit Agreement          
Debt Instrument [Line Items]          
Amortization of the debt discount   $ 100 $ 100    
Interest rate 5.50% 5.50% 5.50%    
Maximum | Wall Street Journal Prime Rate | JPM Credit Agreement          
Debt Instrument [Line Items]          
Interest rate 2.25%