XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.21.1

Debt (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2021
Debt Disclosure [Abstract] |
Net Carrying Amount of Liability and Equity Component of Notes | The net carrying amount of the liability components of the 2026 and 2028 Convertible Notes were as follows:
|  |  | As of December 31, |  | As of March 31,
|  |  | 2020 |  | 2021
2026 Convertible Notes: |  |  |  |  |
Principal |  |  | $ | 400,000 |  |  | $ | 400,000 |
Unamortized discount |  |  | (110,546) |  | (106,036) |
Unamortized debt issuance costs |  |  | (7,258) |  | (6,962) |
2026 Convertible Notes net carrying amount |  |  | 282,196 |  |  | 287,002 |
2028 Convertible Notes: |  |  |  |  |
Principal |  |  | — |  |  | 250,000 |
Unamortized discount |  |  | — |  |  | (66,575) |
Unamortized debt issuance costs |  |  | — |  |  | (5,579) |
2028 Convertible Notes net carrying amount |  |  | — |  |  | 177,846 |
Total net carrying amount |  |  | $ | 282,196 |  |  | $ | 464,848 |
The net carrying amount of the equity components of the 2026 and 2028 Convertible Notes were as follows:
|  |  | As of December 31, |  | As of March 31, |  |
|  |  | 2020 |  | 2021 |  |
2026 Convertible Notes: |  |  |  |  |  |  |
Proceeds allocated to the conversion options (debt discount) |  |  | $ | 125,152 |  |  | $ | 125,152 |  |  |
Issuance costs |  |  | (3,742) |  |  | (3,742) |  |  |
2026 Convertible Notes net carrying amount |  |  | 121,410 |  |  | 121,410 |  |  |
2028 Convertible Notes: |  |  |  |  |  |  |
Proceeds allocated to the conversion options (debt discount) |  |  | — |  |  | 66,908 |  |  |
Issuance costs |  |  | — |  |  | (2,049) |  |  |
2028 Convertible Notes net carrying amount |  |  | — |  |  | 64,859 |  |  |
Total net carrying amount |  |  | $ | 121,410 |  |  | $ | 186,269 |  |  |
Interest Income and Interest Expense Disclosure | The following table sets forth the interest expense recognized related to the 2026 and 2028 Convertible Notes:
|  |  |  |  | Three months ended March 31,
|  |  |  |  |  |  | 2020 |  | 2021
2026 Convertible Notes: |  |  |  |  |  |  |  |  |
Contractual interest expense |  |  |  |  |  |  | $ | 96 |  |  | $ | 250 |
Amortization of debt discount |  |  |  |  |  |  | 1,629 |  |  | 4,510 |
Amortization of debt issuance costs |  |  |  |  |  |  | 106 |  |  | 296 |
Total interest expense related to the 2026 Convertible Notes |  |  |  |  |  |  | 1,831 |  |  | 5,056 |
2028 Convertible Notes: |  |  |  |  |  |  |  |  |
Contractual interest expense |  |  |  |  |  |  | — |  |  | 52 |
Amortization of debt discount |  |  |  |  |  |  | — |  |  | 333 |
Amortization of debt issuance costs |  |  |  |  |  |  | — |  |  | 28 |
Total interest expense related to the 2028 Convertible Notes |  |  |  |  |  |  | — |  |  | 413 |
Total interest expense |  |  |  |  |  |  | $ | 1,831 |  |  | $ | 5,469 |

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: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration