Debt (Tables)
|
12 Months Ended |
Dec. 31, 2023 |
2022 Term Loan |
|
Debt Instrument [Line Items] |
|
Schedule of total interest expense recognized related to the convertible notes |
| | | | | | | | | | Years Ended December 31, | | 2023 | | 2022 | | 2021 | Contractual interest expense | $ | 67,499 | | $ | 51,155 | | $ | 13,834 | Amortization of debt issuance costs | | 7,468 | | | 7,378 | | | 2,505 | Total interest expense | $ | 74,967 | | $ | 58,533 | | $ | 16,339 |
|
Schedule of future payments under debt agreements |
| | | Years ended December 31, | Principal Payments | 2024 | $ | 183,333 | 2025 | | 183,333 | 2026 | | 45,834 | Total before unamortized discount and issuance costs | $ | 412,500 | Less: unamortized discount and issuance costs | | (7,454) | Total term notes | $ | 405,046 |
|
Convertible senior notes |
|
Debt Instrument [Line Items] |
|
Schedule of convertible notes outstanding |
| | | | | | | | | | 2026 Convertible Notes | | 2029 Convertible Notes | | Total Convertible Notes | Principal | $ | 26,350 | | $ | 241,500 | | $ | 267,850 | Less: unamortized issuance costs | | (358) | | | (5,367) | | | (5,725) | Net carrying amount | $ | 25,992 | | $ | 236,133 | | $ | 262,125 |
|
Schedule of total interest expense recognized related to the convertible notes |
| | | | | | | | | | Years Ended December 31, | | 2023 | | 2022 | | 2021 | Contractual interest expense | $ | 7,206 | | $ | 3,773 | | $ | 3,773 | Amortization of debt issuance costs | | 1,166 | | | 907 | | | 902 | Total interest expense | $ | 8,372 | | $ | 4,680 | | $ | 4,675 |
|
Schedule of future payments under debt agreements |
| | | | | | | | | Years ended December 31, | 2026 Convertible Notes | | 2029 Convertible Notes | | Total Convertible Notes | 2024 | $ | 692 | | $ | 6,943 | | $ | 7,635 | 2025 | | 692 | | | 6,943 | | | 7,635 | 2026 | | 26,696 | | | 6,943 | | | 33,639 | 2027 | | — | | | 6,943 | | | 6,943 | 2028 | | — | | | 6,943 | | | 6,943 | Thereafter | | — | | | 244,972 | | | 244,972 | Total minimum payments | $ | 28,080 | | $ | 279,687 | | $ | 307,767 | Less: interest | | (1,730) | | | (38,187) | | | (39,917) | Less: unamortized issuance costs | | (358) | | | (5,367) | | | (5,725) | Convertible Notes carrying value | $ | 25,992 | | $ | 236,133 | | $ | 262,125 |
|