XML 41 R30.htm IDEA: XBRL DOCUMENT
v3.21.2

Debt (Tables) | 9 Months Ended
--- | ---
Sep. 30, 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 September 30,
|  |  | 2020 |  | 2021
2026 Convertible Notes: |  |  |  |  |
Principal |  |  | $ | 400,000 |  |  | $ | 400,000 |
Unamortized discount |  |  | (110,546) |  | (96,782) |
Unamortized debt issuance costs |  |  | (7,258) |  | (6,354) |
2026 Convertible Notes net carrying amount |  |  | 282,196 |  |  | 296,864 |
2028 Convertible Notes: |  |  |  |  |
Principal |  |  | — |  |  | 250,000 |
Unamortized discount |  |  | — |  |  | (62,542) |
Unamortized debt issuance costs |  |  | — |  |  | (5,167) |
2028 Convertible Notes net carrying amount |  |  | — |  |  | 182,291 |
Total net carrying amount |  |  | $ | 282,196 |  |  | $ | 479,155 |
The net carrying amount of the equity components of the 2026 and 2028 Convertible Notes were as follows:
|  |  | As of December 31, |  | As of September 30, |  |
|  |  | 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,019) |  |  |
2028 Convertible Notes net carrying amount |  |  | — |  |  | 64,889 |  |  |
Total net carrying amount |  |  | $ | 121,410 |  |  | $ | 186,299 |  |  |
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 September 30, |  |  |  | Nine months ended September 30,
| 2020 |  | 2021 |  |  |  | 2020 |  | 2021
2026 Convertible Notes: |  |  |  |  |  |  |  |  |
Contractual interest expense | $ | 246 |  |  | $ | 250 |  |  |  |  | $ | 591 |  |  | $ | 750 |
Amortization of debt discount | 4,292 |  |  | 4,664 |  |  |  |  | 10,183 |  |  | 13,761 |
Amortization of debt issuance costs | 283 |  |  | 306 |  |  |  |  | 669 |  |  | 903 |
Total interest expense related to the 2026 Convertible Notes | 4,821 |  |  | 5,220 |  |  |  |  | 11,443 |  |  | 15,414 |
2028 Convertible Notes: |  |  |  |  |  |  |  |  |
Contractual interest expense | — |  |  | 313 |  |  |  |  | — |  |  | 678 |
Amortization of debt discount | — |  |  | 2,029 |  |  |  |  | — |  |  | 4,366 |
Amortization of debt issuance costs | — |  |  | 168 |  |  |  |  | — |  |  | 362 |
Total interest expense related to the 2028 Convertible Notes | — |  |  | 2,510 |  |  |  |  | — |  |  | 5,406 |
Total interest expense | $ | 4,821 |  |  | $ | 7,730 |  |  |  |  | $ | 11,443 |  |  | $ | 20,820 |

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

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