Quarterly report pursuant to Section 13 or 15(d)

Debt (Summary) (Details)

v3.7.0.1
Debt (Summary) (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Dec. 15, 2014
Outstanding debt obligations      
Convertible Notes carrying value $ 155,729 $ 152,575  
Term notes 65,350 100,409  
Convertible Notes      
Outstanding debt obligations      
Face amount 172,500 172,500  
Unaccredited discount on Convertible Notes (14,468) (17,149) $ (27,500)
Unamortized issuance costs (2,303) (2,776)  
Convertible Notes carrying value 155,729 152,575  
Term Notes      
Outstanding debt obligations      
Face amount 106,138 142,000  
Unamortized issuance costs (2,092) (3,665)  
Term notes $ 104,046 $ 138,335