XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Long-term Debt (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2021
Debt Disclosure [Abstract] |
Schedule of convertible debt | The following table summarizes the carrying value of the long-term convertible debt as of June 30, 2021 and December 31, 2020 (in thousands):
| June 30, 2021 |  | December 31, 2020
2024 Notes |  |  |
Carrying value | $ | 85,320 |  |  | $ | 81,462 |
Unamortized debt discount and issuance costs | 31,731 |  |  | 35,589 |
Principal amount | $ | 117,051 |  |  | $ | 117,051 |
Remaining amortization period (years) | 3.4 |  | 3.9
Fair value | $ | 132,054 |  |  | $ | 153,220 |
2025 Notes |  |  |
Carrying value | $ | 121,230 |  |  | $ | 116,349 |
Unamortized debt discount and issuance costs | 51,270 |  |  | 56,151 |
Principal amount | $ | 172,500 |  |  | $ | 172,500 |
Remaining amortization period (years) | 4.3 |  | 4.8
Fair value | $ | 165,974 |  |  | $ | 147,488 |
2021 Notes |  |  |
Carrying value | $ | 26,655 |  |  | $ | 26,557 |
Unamortized issuance costs | 82 |  |  | 180 |
Principal amount | $ | 26,737 |  |  | $ | 26,737 |
Remaining amortization period (years) | 0.4 |  | 0.9
Fair value | $ | 29,279 |  |  | $ | 26,470 |

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