XML 56 R46.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt - Schedule of Net Carrying Amount of the Liability Component of the Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
May 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]      
Principal $ 258,781    
Total debt, net carrying value 190,646   $ 32,930
Convertible debt      
Debt Instrument [Line Items]      
Principal 190,615   $ 0
Convertible debt | Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal 258,750    
Debt Instrument, Unamortized Discount (62,174)    
Unamortized issuance costs (5,961) $ (6,100)  
Total debt, net carrying value $ 190,615