v3.25.1
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Dec. 31, 2024
Debt      
Total $ 453,500   $ 453,500
Less: Unamortized debt discount and issuance costs (4,615)   (5,156)
Net carrying amount 448,885   448,344
Less: Current portion of long-term debt, net (192,215)   (192,028)
Total long-term debt, net 256,670   256,316
Interest expense $ 4,711 $ 5,851  
HealthCare Royalty Partners      
Debt      
Maximum potential royalty payout 14.00%    
Increase in maximum potential payout percent 18.00%    
Maximum aggregate royalty payments $ 225,000    
Maximum aggregate royalty payments 225,000    
Required payment for breach of agreement, payment one 125,000    
Payment for royalty agreement 30,200    
2025 Notes | Convertible senior notes      
Debt      
Total debt 192,500   192,500
Less: Unamortized debt discount and issuance costs (285)   (472)
Net carrying amount 192,215   192,028
2028 Notes | Convertible senior notes      
Debt      
Total debt 261,000   261,000
Less: Unamortized debt discount and issuance costs (4,330)   (4,684)
Net carrying amount 256,670   256,316
Royalty Financing Agreement | Loans Payable [Member] | HealthCare Royalty Partners      
Debt      
Interest expense 1,600 2,700  
Deferred Royalty obligations 67,800   $ 69,500
Royalty Payments $ 3,000 $ 1,900  
Interest Rate of Deferred Royalty Obligation 9.54%