v3.26.1
Debt - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 04, 2027
Jun. 30, 2026
Oct. 08, 2024
Aug. 09, 2024
Dec. 22, 2021
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Debt Instrument [Line Items]                    
Long-term debt, gross   $ 100,000       $ 100,000   $ 100,000   $ 100,000
Maturity, due 2029   107,000       107,000   107,000    
Loan agreement | Secured debt                    
Debt Instrument [Line Items]                    
Prepayment premium (as a percent)       1.00%            
Long-term debt, gross   100,000 $ 100,000     $ 100,000   $ 100,000   $ 100,000
Periodic principal payment     $ 100,000              
Debt instrument, prepayment penalty   $ 1,000                
Covenant period     6 months 6 months 6 months          
Minimum net product revenue as a percentage of projected monthly net revenue     80.00% 75.00%            
Interest rate, stated percentage, partial prepayment     0.0595              
Basis spread on variable rate     2.50%              
Interest rate at end of period   9.57%       9.57%   9.57%    
Default rate (as a percent)         4.00%          
Final fee (as percent)         6.95%          
Exit fee (as percent)         3.00%          
Exit fee expiration period (in years)         10 years          
Deferred final fee         $ 13,900          
Effective interest rate (as a percent)   10.71%       10.71%   10.71%   10.92%
Other income (expense), net           $ 3,400 $ 3,000 $ 7,800 $ 6,000  
Loan agreement | Secured debt | Forecast                    
Debt Instrument [Line Items]                    
Debt instrument, prepayment penalty $ 6,950                  
Loan agreement | Secured debt | Debt Instrument, Redemption, Period Two                    
Debt Instrument [Line Items]                    
Prepayment premium (as a percent)     2.00%              
Loan agreement | Secured debt | After December 22, 2023 and prior to December 22, 2025                    
Debt Instrument [Line Items]                    
Prepayment premium (as a percent)     1.00%              
Loan agreement | Secured debt | Minimum                    
Debt Instrument [Line Items]                    
Periodic principal payment     $ 25,000              
Loan agreement | Secured debt | Tranche A term loan                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity       $ 75,000            
Loan agreement | Secured debt | Tranche B-1 term loan                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity       50,000            
Loan agreement | Secured debt | Tranche B-2 term loan                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity       75,000            
Loan agreement | Secured debt | Tranche C Term Loans                    
Debt Instrument [Line Items]                    
Debt Instrument, Fee Amount   $ 1,000       $ 1,000   $ 1,000   $ 1,000
Loan agreement | Secured debt | Loan Agreement, Tranche One, Expiring March 31, 2026                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity       50,000            
Loan agreement | Secured debt | Loan Agreement, Tranche One, Expiring June 30, 2026                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity       $ 50,000