XML 71 R58.htm IDEA: XBRL DOCUMENT v3.19.2
Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Jun. 30, 2018
Debt Instrument [Line Items]      
Total convertible notes $ 145,314 $ 141,934  
Convertible notes, long-term $ 145,314 141,934  
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 (25,386) (28,517)  
Unamortized Debt Issuance Expense (1,800) (2,049)  
Convertible Senior Notes      
Debt Instrument [Line Items]      
Convertible notes, long-term 145,314 141,934  
Convertible Senior Notes      
Debt Instrument [Line Items]      
Convertible notes, short-term $ 0 $ 0