v3.22.2.2
Subsequent Event - Additional Information (Details) - USD ($)
$ in Thousands
Nov. 03, 2022
Sep. 30, 2022
Dec. 31, 2021
Subsequent Event [Line Items]      
Principal of term loan   $ 30,000 $ 30,000
Subsequent Event      
Subsequent Event [Line Items]      
Collateral monitoring fee 0.10%    
Subsequent Event | Additional Tranche [Member]      
Subsequent Event [Line Items]      
Non-refundable facility fee $ 187,500    
Subsequent Event | SLR Revolver      
Subsequent Event [Line Items]      
Term loan accrue interest rate 2.75%    
Monthly payment arrears percentage 3.20%    
Additional Aggregate Commitments $ 25,000    
Revolving Credit Conversion to Term Loan, Description The Company may terminate the SLR Revolver at any time, subject to a termination fee of (i) 2.0% of the aggregate revolving commitments then in effect, if terminated prior to or on the first anniversary of the Closing Date, (ii) 1.0% of the aggregate revolving commitments then in effect, if terminated after the first anniversary of the Closing Date through and including the second anniversary of the Closing Date, or (iii) 0.5% of the aggregate revolving commitments then in effect, if terminated after the second anniversary of the Closing Date through and including the third anniversary of the Closing Date. Such termination fee is waived if the SLR Revolver is terminated after the third anniversary of the Closing Date and prior to the Maturity Date.    
Line of Credit Facility, Interest Rate Description Amounts available to be drawn under the SLR Revolver are equal to the lesser of (i) outstanding revolving commitments under the SLR Revolving Credit Agreement and (ii) a borrowing base (the Borrowing Base) equal to the sum of (a) 85% of eligible accounts receivable, plus (b) 25% of eligible inventory (not to exceed the lesser of 50% of the Borrowing Base and $5.0 million), minus (c) customary reserves, minus (d) unposted cash.    
Subsequent Event | SLR Revolver | Activated Facility Commitment [Member]      
Subsequent Event [Line Items]      
Aggregate Commitments $ 50,000    
Subsequent Event | Initial Revolver Commitment      
Subsequent Event [Line Items]      
Non-refundable facility fee 187,500    
Aggregate Commitments 25,000    
Subsequent Event | SLR Credit Facilities      
Subsequent Event [Line Items]      
Debt instrument, final payment amount 2,000    
Early repayment fee 300    
Line of Credit Facility, Maximum Borrowing Capacity 200,000    
Line of Credit Facility, Maximum Borrowing Capacity 200,000    
Subsequent Event | Term A Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Principal of term loan 100,000    
Subsequent Event | Term B Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Principal of term loan 20,000    
Subsequent Event | Term C Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Principal of term loan $ 50,000    
Subsequent Event | SLR Loan Agreement | SLR Credit Facilities      
Subsequent Event [Line Items]      
Default Interest Rate 4.00%    
Subsequent Event | SLR Loan Agreement | Term A Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Non-refundable facility fee $ 750,000    
Subsequent Event | SLR Loan Agreement | Term B Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Non-refundable facility fee 750,000    
Subsequent Event | SLR Loan Agreement | Term C Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Non-refundable facility fee $ 375,000    
Subsequent Event | SLR Investment Corp | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Percentage of Fee on Term Loans Funded 4.75%    
Subsequent Event | First Revenue Milestone      
Subsequent Event [Line Items]      
Line of Credit Facility, Borrowing Capacity, Description If the Company achieves a certain net revenue milestone, calculated on a trailing six month basis (First Revenue Milestone), on or before June 30, 2024 and the Additional Tranche (as defined below) under the SLR Revolver has been approved, the Company will be permitted to borrow up to $250.0 million under the SLR Credit Facilities. If the Company achieves a subsequent additional net revenue milestone, calculated on a trailing six month basis (Second Revenue Milestone), on or before June 30, 2025 and obtains lenders' credit approval, the Company will be permitted to borrow up to $300.0 million under the SLR Credit Facilities.    
Subsequent Event | Maximum | Term B Loan | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Principal of term loan $ 100,000    
Subsequent Event | Maximum | SLR Loan Agreement | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Principal of term loan 250,000    
Subsequent Event | Maximum | SLR Investment Corp | SLR Loan Agreement | SLR Term Loan Facility and SLR Credit Facilities      
Subsequent Event [Line Items]      
Principal of term loan 300,000    
Subsequent Event | Maximum | First Revenue Milestone | SLR Loan Agreement      
Subsequent Event [Line Items]      
Line of Credit Facility, Maximum Borrowing Capacity 250,000    
Line of Credit Facility, Maximum Borrowing Capacity 250,000    
Subsequent Event | Maximum | Second Revenue Milestone | SLR Loan Agreement      
Subsequent Event [Line Items]      
Line of Credit Facility, Maximum Borrowing Capacity 300,000    
Line of Credit Facility, Maximum Borrowing Capacity $ 300,000    
Subsequent Event | SOFR | SLR Loan Agreement | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Term loan accrue interest rate 2.75%    
Monthly payment arrears percentage 5.15%    
Subsequent Event | First Anniversary of Closing Date | SLR Investment Corp | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Percentage of Premium Paid on Term Loan 3.00%    
Subsequent Event | Second Anniversary of Closing Date | SLR Investment Corp | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Percentage of Premium Paid on Term Loan 2.00%    
Subsequent Event | After Second Anniversary of Closing Date | SLR Investment Corp | SLR Term Loan Facility      
Subsequent Event [Line Items]      
Percentage of Premium Paid on Term Loan 1.00%