Debt - Repayment (Details) - USD ($) $ / shares in Units, $ in Thousands  | 
12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|
May 02, 2017  | 
Dec. 27, 2018  | 
Dec. 28, 2017  | 
Dec. 29, 2016  | 
Sep. 14, 2018  | 
May 29, 2018  | 
Nov. 20, 2017  | 
Jul. 25, 2017  | 
|
| Debt Instrument [Line Items] | ||||||||
| Number of shares issued | 10,147,025 | |||||||
| Common stock, par value | $ 0.001 | |||||||
| Share price | $ 21.00 | $ 26.01 | $ 37.250 | $ 45.80 | $ 36.00 | $ 40.00 | ||
| Net proceeds | $ 192,000 | |||||||
| Payments on term loans | 192,000 | $ 3,500 | $ 197,500 | $ 98,334 | ||||
| Loss on extinguishment of debt | $ 5,442 | $ 1,813 | ||||||
| Term Loan Facility | ||||||||
| Debt Instrument [Line Items] | ||||||||
| Payments on term loans | 192,000 | |||||||
| Loss on extinguishment of debt | $ 5,400 | |||||||
| Class A Common Stock | ||||||||
| Debt Instrument [Line Items] | ||||||||
| Common stock, par value | $ 0.001 | $ 0.001 | ||||||
| X | ||||||||||
- Definition Face amount or stated value per share of common stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition The cash inflow associated with the amount received from entity's first offering of stock to the public. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Price of a single share of a number of saleable stocks of a company. No definition available. 
  | 
| X | ||||||||||
- Definition Number of new stock issued during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |