Fair Value of Financial Instruments - Narrative (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Mar. 19, 2026 |
Dec. 31, 2025 |
Jun. 30, 2025 |
Dec. 31, 2024 |
Feb. 10, 2023 |
|---|---|---|---|---|---|---|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||||
| Contingent consideration | $ 38,525 | |||||
| Convertible senior notes | 238,733 | $ 238,213 | ||||
| Fair value of deferred royalty obligation | 142,617 | |||||
| Deferred royalty obligation | $ 121,357 | $ 121,563 | $ 122,627 | $ 120,613 | ||
| 2029 Convertible Notes | ||||||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||||
| Interest rate (as a percent) | 2.875% | 2.875% | ||||
| Convertible senior notes, fair value | $ 298,554 | |||||
| Convertible senior notes | 238,733 | |||||
| AZSTARYS Acquisition | ||||||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||||
| Contingent consideration | $ 135 | $ 38,525 |
| X | ||||||||||
- Definition Amount of liability recognized arising from deferred royalty, expected to be settled beyond one year or the normal operating cycle, if longer. No definition available.
|
| X | ||||||||||
- Definition Fair value of deferred royalty obligation at the end of the reporting period. No definition available.
|
| X | ||||||||||
- Definition Amount of liability recognized arising from contingent consideration in a business combination. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of long-term debt (with maturities initially due after one year or beyond the operating cycle if longer) identified as Convertible Notes Payable, excluding current portion. Convertible Notes Payable is a written promise to pay a note which can be exchanged for a specified amount of another, related security, at the option of the issuer and the holder. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|