XML 43 R33.htm IDEA: XBRL DOCUMENT v3.22.1
Long-Term Debt - Additional Information (Details) - USD ($)
3 Months Ended
Sep. 01, 2023
Oct. 01, 2021
Aug. 27, 2019
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]              
Long-term debt       $ 15,000,000   $ 15,000,000  
Lender Warrant | Series C Convertible Preferred Stock              
Debt Instrument [Line Items]              
Warrant exercise price per share       $ 10.812      
Warrant expiration date       Aug. 27, 2029      
Warrant to purchase number of shares of common stock       23,122      
Second Amendment To Loan Agreement | Lender Warrant              
Debt Instrument [Line Items]              
Warrants issued to purchase shares of common stock       $ 400,000      
Second Amendment To Loan Agreement | Lender Warrant | Common Stock              
Debt Instrument [Line Items]              
Warrant exercise price per share       $ 2.86      
Warrant expiration date       Oct. 01, 2031      
Percentage of common shares issuable on aggregate term loans upon exercise of warrant       2.50%      
Fair value of liabilities       $ 400,000      
Term Loans              
Debt Instrument [Line Items]              
Loan agreement date     Aug. 27, 2019        
Long-term debt     $ 10,000,000.0 $ 15,000,000.0   15,000,000.0  
Debt instrument, interest rate terms       Prior to the Second Amendment, the Term Loans accrued interest at a floating annual rate equal to the greater of (i) the prime rate used by the Lender plus 2% and (ii) 7.25%. Subsequent to the Second Amendment, the Term Loans accrue interest at a floating annual rate equal to the greater of (i) the prime rate used by the Lender plus 4.5% and (ii) and 7.75%.       
Debt instrument, frequency of periodic payment       monthly      
Debt instrument, final payment fee percentage       5.75%      
Debt instrument, final payment fee       $ 1,400,000   1,400,000  
Debt instrument, prepayment fee percentage       3.00%     3.00%
Debt instrument, subjective acceleration clause       The Loan Agreement includes customary affirmative and negative covenants and also includes standard events of default, including an event of default based on the occurrence of a material adverse event, and a default under any agreement with a third party resulting in a right of such third party to accelerate the maturity of any debt in excess of $0.3 million.      
Debt instrument, acceleration of maturity of debt, threshold amount       $ 300,000      
Debt instrument, covenant compliance       As of March 31, 2022 and December 31, 2021, the Company was in compliance with all applicable covenants under the Loan Agreement.      
Debt interest expense       $ 400,000 $ 200,000    
Debt discount amortization       100,000 $ 100,000    
Accrued interest       $ 100,000   $ 100,000  
Term Loans | Prime Rate              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate       2.00%      
Term Loans | Minimum              
Debt Instrument [Line Items]              
Debt instrument, variable rate       7.25%      
Term Loans | Second Amendment To Loan Agreement              
Debt Instrument [Line Items]              
Debt instrument, maximum borrowing capacity   $ 45,000,000.0          
Debt instrument, final payment fee $ 500,000     $ 900,000      
Debt issuance costs       $ 200,000      
Term Loans | Second Amendment To Loan Agreement | Prime Rate              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate 4.50%            
Term Loans | Second Amendment To Loan Agreement | Maximum              
Debt Instrument [Line Items]              
Debt instrument, variable rate   7.75%          
Debt instrument, prepayment fee percentage       3.00%      
Term Loans | Second Amendment              
Debt Instrument [Line Items]              
Debt instrument, convertible outstanding principal       $ 3,000,000.0      
Debt instrument, convertible, conversion price       $ 3.86      
First Tranche Term Loan              
Debt Instrument [Line Items]              
Debt instrument, maturity date       Apr. 01, 2025      
First Tranche Term Loan | Second Amendment To Loan Agreement              
Debt Instrument [Line Items]              
Long-term debt   $ 15,000,000.0          
Second Tranche Term Loan | Second Amendment To Loan Agreement              
Debt Instrument [Line Items]              
Long-term debt, borrowing amount available       $ 20,000,000.0