Long-Term Debt (Tables) |
6 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2017 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Debt Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of convertible senior notes | As of June 30, 2017 and December 31, 2016, the carrying amounts of the Notes on the consolidated balance sheets were calculated as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of maturities of convertible senior notes | The undiscounted interest and principal payments due in relation to the Notes from June 30, 2017 to the maturity of the Notes on May 1, 2020 are as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||