XML 59 R42.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt Debt schedule (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 08, 2014
Debt Instrument [Line Items]      
Less: current portion $ 10,184 $ 0  
Long-term debt 227,394 0  
Convertible Debt [Member] | 3.25% Convertible Senior Notes due 2020 [Member]      
Debt Instrument [Line Items]      
Principal amount of Convertible Senior Notes outstanding 167,314 167,314  
Unamortized deferred issuance costs (15,356) (20,221)  
Unamortized deferred issuance costs   (4,200)  
Net carrying amount of liability component 149,868 144,340  
Less: current portion 0 0  
Long-term debt 149,868 144,340  
Carrying value of equity component, net of issuance costs 29,211 29,211 $ 30,700
Fair value of outstanding Convertible Senior Notes $ 257,245 $ 165,223  
Remaining amortization period of discount on the liability component 3 years 4 years