XML 61 R43.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt Debt schedule (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2014
Debt Instrument [Line Items]      
Less: current portion $ 0 $ 10,184  
Long-term debt 0 227,394  
Convertible Debt [Member] | 3.25% Convertible Senior Notes due 2020 [Member]      
Debt Instrument [Line Items]      
Unamortized deferred issuance costs     $ (4,200)
Carrying value of equity component, net of issuance costs     $ 30,700
Convertible Debt [Member] | Convertible Debt [Member]      
Debt Instrument [Line Items]      
Principal amount of Convertible Senior Notes outstanding 58,503 167,314  
Unamortized deferred issuance costs (3,637) (15,356)  
Net carrying amount of liability component 54,379 149,868  
Less: current portion 54,379 0  
Long-term debt 0 149,868  
Carrying value of equity component, net of issuance costs 10,092 29,211  
Fair value of outstanding Convertible Senior Notes $ 85,999 $ 257,245  
Remaining amortization period of discount on the liability component 2 years 3 years  
Other Current Assets [Member] | Convertible Debt [Member] | Convertible Debt [Member]      
Debt Instrument [Line Items]      
Unamortized deferred issuance costs $ (487) $ (2,090)