v3.26.1
Subsequent events - Third Amendment to Note Purchase Agreement (Details) - Notes
$ in Thousands
6 Months Ended 18 Months Ended
Aug. 06, 2026
USD ($)
tranche
Jan. 13, 2025
USD ($)
installment
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
Subsequent events          
Aggregate principal amount     $ 75,000   $ 75,000
Additional issue of principal amount of notes   $ 50,000      
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]   us-gaap:SecuredOvernightFinancingRateSofrMember      
Variable rate (as a percent)   4.29%      
Additional interest rate (%)   3.71%      
Interest rate (as a percent)   9.75%      
Additional increase in interest rate at event of default   5.00%      
Number of equal installments | installment   2      
Financial covenants   The Note Purchase Agreement contains no financial covenants.      
Change in fair value reported in comprehensive loss     $ (2,814) $ (5,300) $ (8,000)
Fair Value, Liability, Recurring Basis, Unobservable Input Reconciliation, Liability, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration]     Fair Value Adjustment of Notes, Instrument Specific Credit Risk    
Debt issuance costs     $ 700    
Maximum          
Subsequent events          
Aggregate principal amount of notes   $ 150,000      
Initial sale          
Subsequent events          
Aggregate principal amount   75,000      
Second sale          
Subsequent events          
Additional issue of principal amount of notes   $ 25,000      
Subsequent events          
Subsequent events          
Number of tranches | tranche 2        
Aggregate principal amount of notes $ 75,000        
Participation Percentage 1.00%        
Total Revenue Payments to Total Purchase Price Ratio 100.00%        
Contingent Make Whole Payment of the Funded Amount 100.00%        
Subsequent events | Minimum          
Subsequent events          
Revenue Payment Percentage 1.75%        
Subsequent events | Maximum          
Subsequent events          
Revenue Payment Percentage 4.50%        
Subsequent events | Initial sale          
Subsequent events          
Additional issue of principal amount of notes $ 50,000        
Subsequent events | Second sale          
Subsequent events          
Additional issue of principal amount of notes 25,000        
Threshold sales to trigger milestone payments $ 40,000