Long-Term Debt - Summary of Convertible Notes (Details) - Convertible Senior Notes - USD ($) $ in Thousands |
Dec. 31, 2019 |
Aug. 31, 2019 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Principal | $ 1,265,000 | $ 1,265,000 |
| Unamortized debt discount and issuance costs | (373,224) | |
| Net carrying amount | 891,776 | |
| Carrying amount of the equity component | $ 377,432 | $ 381,500 |
| X | ||||||||||
- Definition The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|