Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes (Details)

v3.10.0.1
Convertible Senior Notes (Details)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2018
USD ($)
Dec. 31, 2017
USD ($)
Debt Instrument, Redemption [Line Items]    
Proceeds from convertible senior notes $ 282,185  
Convertible senior notes maturity date Jan. 15, 2022  
Convertible senior notes conversion ratio 0.062078 0.0614698
Convertible senior notes $ 283,268 $ 282,827
Convertible Debt [Member]    
Debt Instrument, Redemption [Line Items]    
Convertible senior notes aggregate principal amount $ 287,500  
Convertible senior notes interest rate per annum 6.25%