XML 59 R47.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long Term Debt (Details) - Loan Agreement
12 Months Ended
Dec. 10, 2020
USD ($)
tranche
$ / shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Line of Credit Facility [Line Items]      
Aggregate principal amount $ 50,000,000    
Number of tranche | tranche 3    
Average interest rate 8.75%    
Interest on outstanding loans 30 months    
Conversion price par value (in dollars per share) | $ / shares $ 19.64    
Debt fees $ 1,300,000    
Amortization of debt fees   $ 268,000 $ 16,000
Debt conversion, original debt, amount   3,100,000  
Unamortized debt discount   $ 163,000  
Tranche One      
Line of Credit Facility [Line Items]      
Aggregate principal amount 20,000,000    
Amount received the first tranche 20,000,000    
Tranche Two      
Line of Credit Facility [Line Items]      
Aggregate principal amount 10,000,000    
Tranche Three      
Line of Credit Facility [Line Items]      
Aggregate principal amount $ 20,000,000