Debt - (Tables)
|
9 Months Ended |
Sep. 30, 2022 |
Debt Instrument, Redemption [Line Items] |
|
Summary of liability for sale of future royalties |
| | | | | | | Nine Months Ended September 30, | | Liability for sale of future royalties- (current and noncurrent) | | 2022 | | Beginning balance as of December 31, 2021 | | $ | 733,985 | | Less: Non-cash royalty revenue payable to RPI | | | (31,617) | | Plus: Non-cash interest expense recognized | | | 55,778 | | Ending balance | | $ | 758,146 | | Effective interest rate as of September 30, 2022 | | | 9.4 | % |
|
1.50% Convertible senior notes due 2026 |
|
Debt Instrument, Redemption [Line Items] |
|
Summary of convertible notes |
| | | | | | | | | | | | | | | | Liability component | | September 30, 2022 | | December 31, 2021 | | Principal | | $ | 287,500 | | $ | 287,500 | | Less: Debt issuance costs | | | (4,751) | | | (5,606) | | Net carrying amount | | $ | 282,749 | | $ | 281,894 | |
|
Summary of interest expense recognized related to the Convertible Notes |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | | 2022 | | 2021 | | 2022 | | 2021 | | Contractual interest expense | | $ | 1,081 | | $ | 1,081 | | $ | 3,217 | | $ | 3,217 | | Amortization of debt issuance costs | | | 289 | | | 283 | | | 856 | | | 839 | | Total | | $ | 1,370 | | $ | 1,364 | | $ | 4,073 | | $ | 4,056 | | Effective interest rate of the liability component | | | 1.9 | % | | 1.9 | % | | 1.9 | % | | 1.9 | % |
|
3.00% Convertible senior notes due 2022 |
|
Debt Instrument, Redemption [Line Items] |
|
Summary of convertible notes |
| | | | | | | | | | | | | | | | | | | | | | | | Liability component | | September 30, 2022 | | December 31, 2021 | | Principal | | $ | 150,000 | | $ | 150,000 | | Less: Debt issuance costs | | | — | | | (460) | | Repayment of Convertible Notes | | | (150,000) | | | — | | Net carrying amount | | $ | — | | $ | 149,540 | |
|
Summary of interest expense recognized related to the Convertible Notes |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | | | 2022 | | 2021 | | 2022 | | 2021 | | | Contractual interest expense | | $ | 559 | | $ | 1,134 | | $ | 2,800 | | $ | 3,375 | | | Amortization of debt issuance costs | | | 92 | | | 182 | | | 460 | | | 538 | | | Total | | $ | 651 | | $ | 1,316 | | $ | 3,260 | | $ | 3,913 | | | Effective interest rate of the liability component | | | 3.5 | % | | 3.5 | % | | 3.5 | % | | 3.5 | % | |
|