XML 54 R39.htm IDEA: XBRL DOCUMENT
v3.22.2

Long-term Debt (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2022
Debt Disclosure [Abstract] |
Schedule of convertible debt | The following table summarizes the carrying value of the long-term convertible debt as of June 30, 2022 and December 31, 2021 (in thousands):
| June 30, 2022 |  | December 31, 2021
2024 Notes |  |  |
Carrying value | $ | 114,893 |  |  | $ | 89,361 |
Unamortized debt discount and issuance costs | 2,158 |  |  | 27,690 |
Principal amount | $ | 117,051 |  |  | $ | 117,051 |
Remaining amortization period (years) | 2.4 |  | 2.9
Fair value(1) | $ | 197,477 |  |  | $ | 195,445 |
2025 Notes |  |  |
Carrying value | $ | 168,245 |  |  | $ | 126,315 |
Unamortized debt discount and issuance costs | 4,255 |  |  | 46,185 |
Principal amount | $ | 172,500 |  |  | $ | 172,500 |
Remaining amortization period (years) | 3.3 |  | 3.8
Fair value(1) | $ | 195,434 |  |  | $ | 177,251 |
———————— (1)Fair values for notes are derived from available trading prices closest to the respective balance sheet date.

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