Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.22.2.2
Debt - Narrative (Details)
$ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Apr. 30, 2021
USD ($)
installment
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Mar. 31, 2023
May 31, 2022
Dec. 31, 2021
USD ($)
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]                  
Loss on extinguishment of debt   $ 0 $ 0 $ 0 $ 1,027        
Atel Loan Facility Draw 4                  
Debt Instrument [Line Items]                  
Debt instrument, interest rate, effective percentage   19.23%   19.23%          
Atel Loan Facility Draw 3                  
Debt Instrument [Line Items]                  
Debt instrument, interest rate, effective percentage   19.23%   19.23%          
Silicon Valley Bank Loan Revolver | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Long-term line of credit   $ 5,947   $ 5,947       $ 5,947  
Silicon Valley Bank and Hercules Mezzanine Term Loan | Minimum                  
Debt Instrument [Line Items]                  
Percentage of aggregate term loan advance increase             6.75%    
Silicon Valley Bank and Hercules Mezzanine Term Loan | Maximum                  
Debt Instrument [Line Items]                  
Percentage of aggregate term loan advance increase             8.75%    
Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Growth Capital Advance | Prime Rate                  
Debt Instrument [Line Items]                  
Debt instrument, face amount                 $ 3,900
Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity                 $ 25,000
Loan revolver borrower capacity as a percentage of inventory balance                 60.00%
Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Letter of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity                 $ 6,000
Amendment to the Loan And Security Agreement                  
Debt Instrument [Line Items]                  
Loss on extinguishment of debt     1,000            
Amendment to the Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Loan revolver borrower capacity as a percentage of inventory balance 65.00%                
Line of credit facility, unused capacity, commitment fee percentage 0.20%                
Letters of credit outstanding, amount   3,100   3,100          
Credit card outstanding   1,500   1,500          
Long-term line of credit   $ 5,900   $ 5,900          
Debt instrument, interest rate, effective percentage   5.60%   5.60%          
Amendment to the Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Revolving Credit Facility | Forecast                  
Debt Instrument [Line Items]                  
Long-term debt, percentage bearing variable interest, percentage rate           3.25%      
Amendment to the Loan And Security Agreement | Silicon Valley Bank Loan Revolver | Letter of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity $ 10,000                
Minimum liquidity to be maintained $ 45,000                
Mezzanine Loan and Security Agreement | Silicon Valley Bank Loan Revolver                  
Debt Instrument [Line Items]                  
Percentage of aggregate term loan advance increase 51.00%                
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan                  
Debt Instrument [Line Items]                  
Debt instrument, face amount $ 60,000                
Long-term debt, percentage bearing variable interest, percentage rate 8.75%                
Other long-term debt   $ 60,000   $ 60,000          
Debt instrument, basis spread on variable rate 5.50%                
Debt instrument, number of monthly installments | installment 30                
Percentage of aggregate term loan advance increase 6.75%                
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan | Minimum                  
Debt Instrument [Line Items]                  
Debt instrument, interest rate, effective percentage   15.78%   15.78%          
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan | Maximum                  
Debt Instrument [Line Items]                  
Debt instrument, interest rate, effective percentage   18.83%   18.83%          
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan | Tranche One                  
Debt Instrument [Line Items]                  
Other long-term debt $ 25,000                
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan | Tranche Two                  
Debt Instrument [Line Items]                  
Other long-term debt     $ 25,000   $ 25,000        
Mezzanine Loan and Security Agreement | Silicon Valley Bank and Hercules Mezzanine Term Loan | Tranche Three                  
Debt Instrument [Line Items]                  
Long-term line of credit               $ 10,000  
Mezzanine Loan and Security Agreement | Hercules Capital Inc                  
Debt Instrument [Line Items]                  
Percentage of aggregate term loan advance increase 49.00%                
Atel Loan Facility | Atel | Tranche Three                  
Debt Instrument [Line Items]                  
Other long-term debt   $ 800   $ 800          
Atel Loan Facility | Atel | Tranche Four                  
Debt Instrument [Line Items]                  
Other long-term debt   $ 100   $ 100