Quarterly report pursuant to Section 13 or 15(d)

Debt (Summary) (Details)

v3.10.0.1
Debt (Summary) (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Dec. 15, 2014
Outstanding debt obligations      
Unamortized issuance costs on Convertible Notes $ (2,679) $ (3,106)  
Revolving credit facility balance   81,168  
Convertible Notes due 2019      
Outstanding debt obligations      
Face amount 172,500 172,500 $ 172,500
Unaccreted discount on Convertible Notes (8,832) (11,677)  
Unamortized issuance costs on Convertible Notes (1,369) (1,833)  
Convertible Notes carrying value 162,299 158,990  
Convertible Notes due 2023      
Outstanding debt obligations      
Face amount 345,000    
Unaccreted discount on Convertible Notes (47,016)    
Unamortized issuance costs on Convertible Notes (8,422)    
Convertible Notes carrying value $ 289,562    
Credit Agreement      
Outstanding debt obligations      
Revolving credit facility balance   $ 81,168