XML 69 R58.htm IDEA: XBRL DOCUMENT v3.8.0.1
Shareholders' equity - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
3 Months Ended 9 Months Ended
Oct. 01, 2017
Apr. 02, 2017
Sep. 25, 2016
Oct. 01, 2017
Sep. 25, 2016
Dec. 31, 2016
Shareholders Equity [Line Items]            
Investment warrants, exercise price (in dollars per share)   $ 74.65        
Conversion of convertible notes, shares issued upon conversion 0.5   1.3 0.5 1.9  
Convertible notes - redeemable equity component $ 0     $ 0   $ 1,824
Equity Option            
Shareholders Equity [Line Items]            
Weighted average antidilutive shares which were not included in the calculation of earnings per share 0.6   1.4 0.6 3.9  
Convertible Note            
Shareholders Equity [Line Items]            
Weighted average antidilutive shares which were not included in the calculation of earnings per share 0.1   1.5 0.4 2.3