XML 62 R51.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Principal amount of convertible notes $ 253,707 $ 253,707
Total convertible notes 219,295 213,898
Convertible notes, short-term 80,648 78,451
Convertible notes, long-term 138,647 135,447
1.125% Convertible Senior Notes due 2018    
Debt Instrument [Line Items]    
Principal amount of convertible notes 81,207 81,207
Unamortized discount (517) (2,547)
Unamortized Debt Issuance Expense $ (42) $ (209)
Convertible Notes Payable [Member] | Senior, One Point Three Seven Five Percent Convertible Notes Due Two Thousand Twenty Three [Member] [Member]    
Debt Instrument [Line Items]    
Convertible notes stated interest rate (as a percent) 1.375% 1.375%
Principal amount of convertible notes $ 172,500 $ 172,500
Unamortized discount (31,556) (34,506)
Unamortized Debt Issuance Expense (2,297) (2,547)
Convertible Senior Notes    
Debt Instrument [Line Items]    
Convertible notes, long-term 138,647 135,447
Convertible Senior Notes    
Debt Instrument [Line Items]    
Convertible notes, short-term $ 80,648 $ 78,451