XML 87 R71.htm IDEA: XBRL DOCUMENT v3.22.0.1
Notes Payable, net - Narrative (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Apr. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]        
Borrowing amount $ 5,900      
Debt interest rate 1.00%      
Deferral period 10 months      
Debt term 168 days      
Interest and principal $ 300      
Notes payable   $ 0 $ 51,934  
Warrants issued for debt (in shares)   8,669,076    
Estimated fair value   $ 12,500    
Balloon payment       $ 600
Principal amount due     24,300  
Prepayment charge interest   1.00%    
Subordinated Note Purchase and Security Agreement        
Debt Instrument [Line Items]        
Borrowing amount     31,600  
Debt interest rate   2.00%    
Capitalized payment     900  
Additional funds     15,000  
Notes payable     32,500  
Paid-in-Kind Interest     $ 600  
End of term fee rate   1.00%    
Subordinated Note Purchase and Security Agreement | Debt Instrument, Outstanding Balance Threshold Two        
Debt Instrument [Line Items]        
Notes payable   $ 5,000    
2019 Loan and Security Agreement        
Debt Instrument [Line Items]        
Borrowing amount       25,000
Series-E Convertible Preferred Stock        
Debt Instrument [Line Items]        
Estimated fair value       $ 500
Effective Date First Year        
Debt Instrument [Line Items]        
Prepayment charge   3.00%    
Effective Date Second Year        
Debt Instrument [Line Items]        
Prepayment charge   2.00%    
Minimum | Subordinated Note Purchase and Security Agreement        
Debt Instrument [Line Items]        
Debt interest rate   9.00%    
Minimum | Subordinated Note Purchase and Security Agreement | Debt Instrument, Outstanding Balance Threshold Three        
Debt Instrument [Line Items]        
Debt interest rate   9.00%    
Notes payable   $ 10,000    
Maximum | Subordinated Note Purchase and Security Agreement        
Debt Instrument [Line Items]        
Debt interest rate   11.00%    
Maximum | Subordinated Note Purchase and Security Agreement | Debt Instrument, Outstanding Balance Threshold One        
Debt Instrument [Line Items]        
Debt interest rate   11.00%    
Notes payable   $ 5,000    
Maximum | Subordinated Note Purchase and Security Agreement | Debt Instrument, Outstanding Balance Threshold Two        
Debt Instrument [Line Items]        
Notes payable   $ 10,000    
Median | Subordinated Note Purchase and Security Agreement | Debt Instrument, Outstanding Balance Threshold Two        
Debt Instrument [Line Items]        
Debt interest rate   10.00%