Quarterly report pursuant to Section 13 or 15(d)

Debt (Summary) (Details)

v3.8.0.1
Debt (Summary) (Details) - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Dec. 15, 2014
Outstanding debt obligations      
Unamortized issuance costs $ (3,320)    
Convertible Notes carrying value 157,353 $ 152,575  
Term notes   100,409  
Revolving credit facility balance 101,168    
Other non-current assets 17,969 13,963  
Prepaid expenses and other current assets 23,999 16,224  
Accounting Standards Update 2015-03 | Adjustment      
Outstanding debt obligations      
Other non-current assets 3,320    
Prepaid expenses and other current assets 855    
Convertible Notes      
Outstanding debt obligations      
Face amount 172,500 172,500 $ 172,500
Unaccredited discount on Convertible Notes (13,075) (17,149) $ (27,500)
Unamortized issuance costs (2,072) (2,776)  
Convertible Notes carrying value 157,353 152,575  
Term Notes      
Outstanding debt obligations      
Face amount   142,000  
Unamortized issuance costs   (3,665)  
Term notes $ 0 $ 138,335