XML 102 R53.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long Term Debt and Convertible Notes - Convertible Notes Narrative (Details) - USD ($)
1 Months Ended 12 Months Ended
Oct. 05, 2020
Apr. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Oct. 04, 2020
Debt Instrument [Line Items]          
Proceeds from convertible debt     $ 0 $ 32,950,000  
Debt issuance costs     41,000 162,000  
Embedded derivative liability   $ 3,900,000      
Amortization of debt discount and debt issuance costs     106,000 968,000  
Accrued interest     1,594,000    
2020 Notes Derivative Liability          
Debt Instrument [Line Items]          
Increase (decrease) in fair value of derivative       $ 3,900,000  
2020 Notes Agreement          
Debt Instrument [Line Items]          
Convertible debt $ 33,000,000        
Accrued interest 800,000        
Convertible Debt | 2020 Notes Agreement          
Debt Instrument [Line Items]          
Maximum borrowing capacity   66,000,000      
Debt issuance costs   $ 100,000      
Interest expense     1,600,000    
Effective interest rate         12.33%
Contractual interest expense     800,000    
Amortization of debt discount and debt issuance costs     $ 800,000    
Accrued interest $ 800,000        
Convertible Debt | 2020 Notes Agreement | Debt Instrument, Convertible, Conversion Feature, Scenario Two          
Debt Instrument [Line Items]          
Conversion price per share (in dollars per share)   $ 13.20      
Convertible Debt | 2020 Notes Agreement | Prime Rate          
Debt Instrument [Line Items]          
Basis spread on variable rate   2.00%      
Convertible Debt | 2020 Notes Agreement | Common Stock          
Debt Instrument [Line Items]          
Shares issued upon conversion of debt (in shares) 2,561,484        
Conversion price per share (in dollars per share) $ 13.20        
Convertible Debt | 2020 Notes Agreement, Tranche One          
Debt Instrument [Line Items]          
Proceeds from convertible debt   $ 33,000,000      
Convertible Debt | 2020 Notes Agreement, Tranche Two | Maximum          
Debt Instrument [Line Items]          
Remaining borrowing capacity   33,000,000      
Convertible Debt | 2020 Notes Agreement Over Allotment Option          
Debt Instrument [Line Items]          
Maximum draw amount   $ 5,000,000