v3.8.0.1
Net Income (Loss) Per Share - Antidilutive Securities (Details) - shares
shares in Thousands
12 Months Ended
Dec. 30, 2017
Dec. 31, 2016
Dec. 26, 2015
Stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (shares) 1,365 4,312 3,482
Restricted Stock Units (RSUs)      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (shares) 140 1,780 1,306
Series A Redeemable Convertible Preferred Stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (shares) 4,787 4,539 0