XML 64 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
Convertible Notes (Details 3) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Interest expense related to notes      
Amortization of discount and debt issuance costs $ 2,680 $ 1,749  
Interest expense 4,421 3,206  
1.125% Convertible Senior Notes due 2018      
Interest expense related to notes      
Interest 53 388  
Amortization of discount and debt issuance costs 1,090 1,749  
Interest expense $ 3,326 $ 2,137  
Convertible Notes Payable [Member] | Senior, One Point Three Seven Five Percent Convertible Notes Due Two Thousand Twenty Three [Member] [Member]      
Interest expense related to notes      
Convertible notes stated interest rate (as a percent) 1.375%   1.375%
Debt Instrument, Interest Rate, Effective Percentage 4.90%    
Convertible Notes Payable [Member] | 1.125% Convertible Senior Notes due 2018      
Interest expense related to notes      
Debt Instrument, Interest Rate, Effective Percentage   5.50%  
Convertible Senior Notes | Senior, One Point Three Seven Five Percent Convertible Notes Due Two Thousand Twenty Three [Member] [Member]      
Interest expense related to notes      
Interest $ 593 $ 0  
Amortization of discount and debt issuance costs $ 1,590 $ 0  
Convertible Notes Payable [Member] | 1.125% Convertible Senior Notes due 2018      
Interest expense related to notes      
Convertible notes stated interest rate (as a percent) 1.125% 1.125% 1.125%
Debt Instrument, Interest Rate, Effective Percentage 5.50%