Annual report pursuant to Section 13 and 15(d)

Notes Payable - Narrative (Details)

v3.22.0.1
Notes Payable - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Nov. 03, 2021
May 31, 2021
Dec. 31, 2021
Nov. 30, 2021
Dec. 31, 2020
Dec. 29, 2020
Jan. 29, 2020
Debt Instrument [Line Items]              
Secured convertible notes     $ 9,838   $ 21,280    
Debt related commitment fees and debt issuance costs   $ 200          
Junior Subordinated Debt              
Debt Instrument [Line Items]              
Payments for accrued interest     900        
Repayments of secured debt     2,800        
SBA's Payroll Protection Program              
Debt Instrument [Line Items]              
Proceeds received through a loan funded under the PPP     900        
Security Purchase Agreement | Convertible Debt | 2020 Convertible Notes | Investor              
Debt Instrument [Line Items]              
Secured convertible notes     $ 10,000        
Debt instrument, convertible, conversion price (in usd per share)     $ 6.00        
Security Purchase Agreement | Convertible Debt | First Closing Notes              
Debt Instrument [Line Items]              
Secured convertible notes     $ 200   400    
Debt instrument, convertible, conversion price (in usd per share)             $ 6.00
Debt instrument, face amount             $ 17,500
Debt conversion, conversion amount   7,500          
Accrued interest in conversion of debt   $ 40          
Debt conversion, shares issued (in shares)   1,256,143,000          
Security Purchase Agreement | Convertible Debt | Second Closing Note              
Debt Instrument [Line Items]              
Secured convertible notes         $ 3,100    
Debt conversion, shares issued (in shares) 773,446,000            
Additional rights, principal amount             5,000
Amount of accrued and paid-in kind interest included in converted debt $ 300            
Share price (in usd per share)         $ 14.34    
Security Purchase Agreement | Convertible Debt | Third Closing Note              
Debt Instrument [Line Items]              
Additional rights, principal amount             $ 10,000
Security Purchase Agreement Amended | Convertible Debt | Second Closing Note              
Debt Instrument [Line Items]              
Debt instrument, convertible, conversion price (in usd per share)           $ 10,140  
Debt instrument, face amount $ 7,500     $ 7,500   $ 7,500  
Cash interest rate           2.00%  
Payment-in-kind interest rate           5.00%