XML 68 R58.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Convertible Senior Note (Details) - Convertible debt [Member] - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Jul. 31, 2015
Debt Instrument [Line Items]      
Principal of convertible senior notes $ 225,000 $ 225,000 $ 225,000
Contractual Interest Rate 4.00%   4.00%
Unamortized debt discount $ (15,874) (18,196)  
Unamortized financing costs (3,348) (3,894)  
Carrying value of convertible senior notes 205,778 202,910  
Carrying value of the equity component 23,743 $ 23,743  
Equity component of convertible debt issuance costs $ 700