Convertible Notes - Debt issuance costs and interest expense (Details) - Convertible Notes $ in Thousands |
3 Months Ended | 9 Months Ended |
|---|---|---|
|
Sep. 30, 2019
USD ($)
|
Sep. 30, 2019
USD ($)
|
|
| Interest expense related to the Convertible Notes | ||
| Contractual interest expense | $ 503 | $ 1,509 |
| Amortization of debt issuance costs | 213 | 632 |
| Amortization of debt discount | 2,079 | 6,127 |
| Total | $ 2,795 | $ 8,268 |
| Effective interest rate of the liability component | 7.10% | 7.10% |
| Amortization and interest expense capitalized | $ 740 | $ 1,948 |
| X | ||||||||||
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest capitalized during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|