Net (Loss) Income per Share Attributable to Common Stockholders - Antidilutive Securities (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2017 |
Sep. 24, 2016 |
Sep. 30, 2017 |
Sep. 24, 2016 |
|
| Stock options | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (shares) | 1,385 | 4,444 | 1,334 | 4,444 |
| Restricted stock units | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (shares) | 184 | 1,940 | 108 | 1,940 |
| 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,724 | 4 | 4,724 | 4 |