XML 44 R34.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt - Settlement of Convertible Senior Notes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Extinguishment of Debt [Line Items]        
Number of shares of common stock issued 1,270,406   3,697,953  
Loss on extinguishment of debt $ 2,398 $ 0 $ 6,965 $ 0
Convertible Senior Notes        
Extinguishment of Debt [Line Items]        
Number of shares of common stock issued 1,270,000   3,698,000  
Loss on extinguishment of debt $ 766   $ 2,303  
Convertible Senior Notes | 3.25% Convertible Senior Notes due 2020        
Extinguishment of Debt [Line Items]        
Principal amount settled $ 38,554   $ 108,773