Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Debt (Details)

v3.22.0.1
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Less debt discount $ (517) $ (724)
Total debt, net of debt discount 39,483 39,396
Less current portion 0 (58)
Total long-term debt outstanding 39,483 39,338
$10.0 million March 2019    
Debt Instrument [Line Items]    
Principal amount 10,000  
Amount $ 10,000 $ 10,000
Interest Rate 8.00% 8.40%
$10.0 million September 2019    
Debt Instrument [Line Items]    
Principal amount $ 10,000  
Amount $ 10,000 $ 10,000
Interest Rate 8.00% 9.20%
$10.0 million December 2019    
Debt Instrument [Line Items]    
Principal amount $ 10,000  
Amount $ 10,000 $ 10,000
Interest Rate 8.00% 10.00%
$10.0 million March 2020    
Debt Instrument [Line Items]    
Principal amount $ 10,000  
Amount $ 10,000 $ 10,000
Interest Rate 8.00% 10.00%
Other debt    
Debt Instrument [Line Items]    
Amount $ 0 $ 120
Interest Rate 6.20%