XML 50 R36.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Debt (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Debt |
Schedule of carrying value of Convertible Senior Notes | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | December 31, 2023 | ​ | ​ | December 31, 2022
​ |  | ​ | Principal Amount |  | ​ | Unamortized transaction costs |  | ​ | Net carrying value |  | ​ | Principal Amount |  | ​ | Unamortized debt discount/ transaction costs |  | ​ | Net carrying value
​ | ​ | ​ | (in thousands)
2023 Notes | ​ | $ | — | ​ | $ | — | ​ | $ | — | ​ | $ | 20,173 | ​ | $ | (4) | ​ | $ | 20,169
2025 Notes | ​ |  | 26,500 | ​ |  | (102) | ​ |  | 26,398 | ​ |  | 132,500 | ​ |  | (990) | ​ |  | 131,510
2027 Notes | ​ | ​ | 25,000 | ​ | ​ | (313) | ​ | ​ | 24,687 | ​ | ​ | 125,000 | ​ | ​ | (2,019) | ​ | ​ | 122,981
2029 Notes | ​ | ​ | 230,000 | ​ | ​ | (6,144) | ​ | ​ | 223,856 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | —
Net carrying value | ​ | $ | 281,500 | ​ | $ | (6,559) | ​ | $ | 274,941 | ​ | $ | 277,673 | ​ | $ | (3,013) | ​ | $ | 274,660
Schedule of interest expense related to Convertible Senior Notes | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | For the year ended December 31,
​ |  | ​ | 2023 | ​ | 2022 | ​ | 2021
​ |  | ​ | (in thousands)
Cash Interest Expense |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Coupon interest expense - 2023 Notes | ​ | ​ | $ | 23 | ​ | $ | 545 | ​ | $ | 3,138
Coupon interest expense - 2025 Notes | ​ | ​ | ​ | 2,360 | ​ | ​ | 4,637 | ​ | ​ | 4,637
Coupon interest expense - 2027 Notes | ​ | ​ | ​ | 2,385 | ​ | ​ | 4,688 | ​ | ​ | 4,688
Coupon interest expense - 2029 Notes | ​ | ​ | ​ | 4,078 | ​ | ​ | — | ​ | ​ | —
Non-cash Interest Expense | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Amortization of debt discount/transaction costs- 2023 Notes | ​ | ​ |  | 4 | ​ |  | 97 | ​ |  | 4,932
Amortization of debt discount/transaction costs- 2025 Notes | ​ | ​ | ​ | 240 | ​ | ​ | 457 | ​ | ​ | 4,795
Amortization of debt discount/transaction costs- 2027 Notes | ​ | ​ | ​ | 220 | ​ | ​ | 408 | ​ | ​ | 4,092
Amortization of debt discount/transaction costs- 2029 Notes | ​ | ​ | ​ | 654 | ​ | ​ | — | ​ | ​ | —
Total Interest Expense | ​ | ​ | $ | 9,964 | ​ | $ | 10,832 | ​ | $ | 26,282

X
- Definition Tabular disclosure of convertible debt instrument. Includes, but is not limited to, principal amount and amortized premium or discount. + References No definition available. + Details
Name: | us-gaap_ConvertibleDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities. + References No definition available. + Details
Name: | us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration