Term Loan - Additional Information (Detail) - USD ($) | 1 Months Ended | 3 Months Ended | | |
Nov. 30, 2022 | Mar. 31, 2023 | Dec. 31, 2022 | Nov. 03, 2022 |
Debt Instrument [Line Items] | | | | |
Principal of term loan | | $ 100,000,000 | $ 100,000,000 | |
Debt discount on Perceptive Term Loan | | $ 3,520,000 | $ 3,664,000 | |
TwoSeniorSecuredCreditFacilities | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | $ 300,000,000 |
SLR Credit Facilities | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | 200,000,000 |
Cash and cash equivalent maintain percentage | | 50% | | |
Line of credit, default interest rate | | 4% | | |
SLR Credit Facilities | First Revenue Milestone | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | 250,000,000 |
SLR Credit Facilities | Second Revenue Milestone | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | $ 300,000,000 |
SLR Term Loan Facility | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | $ 250,000,000 | | |
Line of credit, interest rate | | 9.81% | | |
Line of credit, expiration date | | Nov. 30, 2026 | | |
Line of credit, commitment fee percentage | | 4.75% | | |
Line of credit, payment terms, description | | The Company may voluntarily prepay the outstanding Term Loans, subject to a prepayment premium of (i) 3.0% of the principal amount of the Term Loan, if prepaid prior to or on the first anniversary of the Closing Date, (ii) 2.0% of the principal amount of the Term Loan, if prepaid after the first anniversary of the Closing Date through and including the second anniversary of the Closing Date, or (iii) 1.0% of the principal amount of the Term Loan if prepaid after the second anniversary of the Closing Date and prior to the Maturity Date | | |
SLR Term Loan Facility | First Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, percentage of prepayment premium | | 3% | | |
SLR Term Loan Facility | Second Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, percentage of prepayment premium | | 2% | | |
SLR Term Loan Facility | After Second Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, percentage of prepayment premium | | 1% | | |
SLR Term Loan Facility | Extended Maturity | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, expiration date | | May 31, 2027 | | |
SLR Term Loan Facility | InterestRateFloor | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, interest rate | | 2.75% | | |
SLR Term Loan Facility | SOFR | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, interest rate | | 5.15% | | |
Slr Revolver | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | $ 50,000,000 | | |
Line of credit, expiration date | | Nov. 01, 2027 | | |
Line of credit, commitment fee percentage | | 0.50% | | |
Line of credit, borrowing base, percentage | | 50% | | |
Line of credit, borrowing base, amount | | $ 5,000,000 | | |
Line of credit, collateral monitoring fee | | 0.10% | | |
Slr Revolver | Accounts Receivable | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, borrowing base, percentage | | 85% | | |
Slr Revolver | Inventory | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, borrowing base, percentage | | 25% | | |
Slr Revolver | First Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, termination fee | | 2% | | |
Slr Revolver | Second Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, termination fee | | 1% | | |
Slr Revolver | After Second Anniversary of Closing Date | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, termination fee | | 0.50% | | |
Slr Revolver | Initial Revolver Commitment | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | $ 25,000,000 | | |
Non-refundable facility fee | | 187,500,000 | | |
Slr Revolver | Additional Tranche | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | 25,000,000 | | |
Non-refundable facility fee | | $ 187,500,000 | | |
Slr Revolver | InterestRateFloor | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, interest rate | | 2.75% | | |
Slr Revolver | SOFR | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, interest rate | | 3.20% | | |
Term A Loan | SLR Credit Facilities | | | | |
Debt Instrument [Line Items] | | | | |
Proceeds from Lines of Credit | $ 100,000,000 | | | |
Debt Issuance Costs | 3,800 | | | |
Term A Loan | SLR Term Loan Facility | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | $ 100,000,000 | | |
Non-refundable facility fee | | 750,000,000 | | |
Term B Loan | SLR Credit Facilities | | | | |
Debt Instrument [Line Items] | | | | |
Non-refundable facility fee | $ 900 | | | |
Term B Loan | SLR Term Loan Facility | | | | |
Debt Instrument [Line Items] | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | 100,000,000 | | |
Line of credit, current borrowing capacity | | 20,000,000 | | |
Non-refundable facility fee | | 750,000,000 | | |
Term C Loan | SLR Term Loan Facility | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit, current borrowing capacity | | 50,000,000 | | |
Non-refundable facility fee | | $ 375,000,000 | | |