Quarterly report pursuant to Section 13 or 15(d)

Debt Instruments - Convertible Debt Offerings (Details)

v3.10.0.1
Debt Instruments - Convertible Debt Offerings (Details) - USD ($)
$ / shares in Units, $ in Thousands
Sep. 30, 2018
May 24, 2018
Dec. 31, 2017
Dec. 09, 2015
Debt Instrument [Line Items]        
Share price (in dollars per share) $ 9.51      
Convertible debt | Convertible senior notes due 2020        
Debt Instrument [Line Items]        
Value of debt $ 148,700     $ 233,500
Debt instrument, conversion price (in dollars per share) $ 16.42     $ 16.42
Principal amount $ 152,100   $ 345,000  
Convertible debt | Convertible senior notes due 2023        
Debt Instrument [Line Items]        
Value of debt $ 222,700 $ 124,300    
Debt instrument, conversion price (in dollars per share) $ 9.57 $ 9.57    
Principal amount $ 192,900   $ 0