XML 57 R42.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Long-term Debt (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Debt Disclosure [Abstract] |
Schedule of convertible debt | The following table summarizes the carrying value of the long-term convertible debt as of December 31, 2021 and 2020 (in thousands):
| December 31,
| 2021 |  | 2020
2024 Notes |  |  |
Carrying value | $ | 89,361 |  |  | $ | 81,462 |
Unamortized debt discount and issuance costs | 27,690 |  |  | 35,589 |
Principal amount | $ | 117,051 |  |  | $ | 117,051 |
Remaining amortization period (years) | 2.9 |  | 3.9
Fair value(1) | $ | 195,445 |  |  | $ | 153,220 |
2025 Notes |  |  |
Carrying value | $ | 126,315 |  |  | $ | 116,349 |
Unamortized debt discount and issuance costs | 46,185 |  |  | 56,151 |
Principal amount | $ | 172,500 |  |  | $ | 172,500 |
Remaining amortization period (years) | 3.8 |  | 4.8
Fair value(1) | $ | 177,251 |  |  | $ | 147,488 |
2021 Notes |  |  |
Carrying value | $ | — |  |  | $ | 26,557 |
Unamortized debt discount and issuance costs | — |  |  | 180 |
Principal amount | $ | — |  |  | $ | 26,737 |
Remaining amortization period (years) | 0.0 |  | 0.9
Fair value(1) | $ | — |  |  | $ | 26,470 |
———————— (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