XML 54 R42.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - 2016 Convertible Notes (Details Textual) - Senior Convertible Notes 2016
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2018
USD ($)
Tradingday
$ / shares
Dec. 31, 2017
USD ($)
$ / shares
Debt Instrument [Line Items]    
Percentage of par value of convertible notes to be settled in cash 100.00%  
Conversion rate of common stock 17.4951 17.4858
Convertible Notes, initial conversion of Par Value Convertible Notes to common stock | $ $ 1 $ 1
Conversion price | $ / shares $ 57.16 $ 57.19
Rate of conversion price 130.00%  
Debt instrument, convertible, threshold consecutive trading days 30  
Debt instrument, convertible, threshold trading days 20