Annual report pursuant to Section 13 and 15(d)

Borrowings - Additional Information (Details)

v3.22.2
Borrowings - Additional Information (Details)
12 Months Ended
Jun. 01, 2020
USD ($)
shares
Apr. 13, 2020
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
Dec. 31, 2018
USD ($)
Jan. 01, 2019
USD ($)
Installment
Oct. 26, 2017
USD ($)
Debt Instrument [Line Items]                
Debt instrument, outstanding balance     $ 214,000 $ 362,000        
Proceeds from PPP Loan   $ 2,300,000   2,289,000        
PPP Loan, repayment date     Apr. 29, 2020          
Subordinated Term Loan and Security Agreement | B. Riley Principal Investments, LLC                
Debt Instrument [Line Items]                
Maximum borrowings available               $ 12,000,000
Minimum principal amount outstanding of defined repayment penalties           $ 10,000,000    
Prepayment penalty description           The prepayment penalty was 2% for 2019 and decreased to 1% after the second anniversary through maturity    
Interest rate, stated percentage           10.00%    
Debt prepayment penalties percentage     1.00%     2.00%    
Line of credit facility, maturity date           Sep. 01, 2022    
Note Amendment and Debt Cancellation Agreement | B. Riley Principal Investments, LLC                
Debt Instrument [Line Items]                
Outstanding indebtedness $ 4,000,000              
Outstanding borrowings $ 6,170,000              
Debt instrument redemption date Jun. 09, 2020              
Conversion shares | shares 822,682              
Promissory Notes Payable                
Debt Instrument [Line Items]                
Debt instrument, outstanding balance     $ 214,000 $ 362,000     $ 736,000  
Debt instrument, periodic payment, number of equal quarterly installments | Installment             20  
Debt instrument, frequency of periodic payment         quarterly      
Promissory Notes Payable | Minimum                
Debt Instrument [Line Items]                
Debt instrument, payment term     2 years          
Promissory Notes Payable | Maximum                
Debt Instrument [Line Items]                
Interest rate, stated percentage     8.00%          
Debt instrument, payment term     4 years