XML 75 R51.htm IDEA: XBRL DOCUMENT v3.22.4
Debt - Additional Information (Details)
12 Months Ended
Nov. 15, 2022
USD ($)
Nov. 14, 2022
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
May 31, 2022
payment
May 30, 2022
USD ($)
Debt Instrument [Line Items]              
Proceeds from Revolving Credit Facility     $ 5,000,000 $ 0 $ 0    
SVB Term Loan              
Debt Instrument [Line Items]              
Total principal amount             $ 58,000,000
Number of payments | payment           37  
Repayments of Debt $ 60,000,000            
Credit Agreement | Line of Credit              
Debt Instrument [Line Items]              
Term (in years)     5 years        
Credit Agreement | Line of Credit | Secured Debt              
Debt Instrument [Line Items]              
Maximum borrowing capacity   $ 100,000,000          
Exit fee payment (as a percent)   4.00%          
Proceeds from Revolving Credit Facility 14,000,000 $ 75,000,000          
Unamortized debt fees   $ 500,000          
Bank and legal fees $ 1,000,000            
Credit Agreement | Line of Credit | Secured Debt | Prime Rate              
Debt Instrument [Line Items]              
Debt instrument, basis rate (as a percent)   3.50%          
Credit Agreement | Line of Credit | Secured Debt | Floor Rate              
Debt Instrument [Line Items]              
Debt instrument, basis rate (as a percent)   9.25%          
Credit Agreement | Line of Credit | Revolving Credit Facility              
Debt Instrument [Line Items]              
Maximum borrowing capacity   $ 25,000,000          
Additional borrowing capacity   10,000,000          
Line of credit, initial commitment amount   $ 15,000,000          
Credit Agreement | Line of Credit | Revolving Credit Facility | Prime Rate              
Debt Instrument [Line Items]              
Debt instrument, basis rate (as a percent)   0.50%          
Credit Agreement | Line of Credit | Revolving Credit Facility | Floor Rate              
Debt Instrument [Line Items]              
Debt instrument, basis rate (as a percent)   6.25%          
Credit Agreement, Accessible Year-One | Line of Credit | Secured Debt              
Debt Instrument [Line Items]              
Line of credit facility, available borrowing upon achievement of gross margin target   $ 25,000,000