Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes (Details)

v3.7.0.1
Convertible Senior Notes (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2017
USD ($)
Dec. 31, 2016
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.1003065  
Convertible senior notes $ 282,290 $ 0
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%  
Over-Allotment Option [Member] | Convertible Debt [Member]    
Debt Instrument, Redemption [Line Items]    
Convertible senior notes aggregate principal amount $ 37,500