Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Detail) - USD ($) $ in Thousands |
Jun. 30, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Payables and Accruals [Abstract] | ||
| Product revenue allowances | $ 5,204 | $ 849 |
| Accrued clinical study and trial costs | 21,203 | 23,869 |
| Accrued selling, general, and administrative costs | 5,582 | 4,258 |
| Accrued compensation and related costs | 14,505 | 14,477 |
| Accrued professional fees | 0 | 385 |
| Accrued milestone costs | 5,000 | 10,600 |
| Accrued royalty interest expense | 18,954 | 4,930 |
| Other | 618 | 421 |
| Total accrued expenses and other current liabilities | $ 71,066 | $ 59,789 |