XML 64 R50.htm IDEA: XBRL DOCUMENT v3.22.1
Long-term Debt - Schedule of long-term debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Unamortized discount $ 187 $ 285
Total debt excluding Revolver 28,884 38,863
Line of credit for capital expenditures    
Debt Instrument [Line Items]    
Total debt excluding Revolver $ 1,064 1,220
Line of credit | PPP under CARES Act | Secured debt    
Debt Instrument [Line Items]    
Effective interest rate 1.00%  
Total debt excluding Revolver $ 0 $ 5,999
Line of credit | New US Term Loan | Secured debt    
Debt Instrument [Line Items]    
Effective interest rate 5.50% 5.25%
Unamortized discount $ 100  
Total debt excluding Revolver $ 20,383 $ 22,768
Line of credit | CA term loan | Secured debt    
Debt Instrument [Line Items]    
Effective interest rate 5.50% 5.25%
Total debt excluding Revolver $ 7,437 $ 8,876
Line of credit | October 1, 2021 through November 7, 2023 | New US Term Loan | Secured debt    
Debt Instrument [Line Items]    
Principal payment amount 800  
Line of credit | October 1, 2021 through November 7, 2023 | CA term loan | Secured debt    
Debt Instrument [Line Items]    
Principal payment amount 400  
Unamortized discount $ 100  
Line of credit | October 1, 2021 through November 7, 2023 | Line of credit for capital expenditures    
Debt Instrument [Line Items]    
Effective interest rate 5.50% 5.25%
Percent of principal payment 12.50%