Debt - Convertible Debt (Details) - USD ($) $ in Thousands |
6 Months Ended | |||
---|---|---|---|---|
Jun. 30, 2017 |
May 31, 2017 |
May 23, 2017 |
Dec. 31, 2016 |
|
Convertible Debt [Abstract] | ||||
Convertible notes payable, net | $ 275,673 | $ 0 | ||
Convertible Senior Notes | Convertible Senior Notes Due November 2022 | ||||
Convertible Debt [Abstract] | ||||
Principal amount | 345,000 | $ 345,000 | ||
Unamortized discount | (61,497) | |||
Unamortized debt issuance costs | (7,830) | |||
Convertible notes payable, net | 275,673 | $ 282,500 | ||
Equity component | 61,401 | $ 62,500 | ||
Interest Expense, Debt [Abstract] | ||||
Contractual interest expense | 561 | |||
Amortization of debt discount | 1,052 | |||
Amortization of debt issuance costs | 134 | |||
Interest expense, net | $ 1,747 | |||
Effective interest rate of the liability component | 5.87% |
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://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Carrying amount of long-term convertible debt as of the balance sheet date, net of the amount due in the next twelve months or greater than the normal operating cycle, if longer. The debt is convertible into another form of financial instrument, typically the entity's common stock. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
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/presentationRef
|
X | ||||||||||
- Definition Amount, after accumulated amortization, of debt discount. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
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://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|