Net Income (Loss) per Share Attributable to Common Stockholders - Antidilutive Securities (Details) - shares shares in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jul. 01, 2017 |
Jun. 25, 2016 |
Jul. 01, 2017 |
Jun. 25, 2016 |
|
| Stock options | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (shares) | 1,398 | 4,452 | 1,292 | 617 |
| Restricted stock units | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (shares) | 24 | 2,064 | 14 | 1,217 |
| Series A Redeemable Convertible Preferred Stock (as converted to common stock) | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (shares) | 4,659 | 0 | 4,659 | 0 |