Audit Information  | 
12 Months Ended | 
|---|---|
Dec. 27, 2023  | |
| Auditor Information [Abstract] | |
| Auditor Firm ID | 42 | 
| Auditor Name | Ernst & Young LLP | 
| Auditor Location | New York, New York | 
CONSOLIDATED BALANCE SHEETS - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 29, 2021  | 
Dec. 30, 2020  | 
|---|---|---|---|---|---|---|---|---|---|---|
| Current assets: | ||||||||||
| Cash and cash equivalents | $ 224,653 | $ 190,020 | $ 203,697 | $ 293,430 | $ 230,521 | $ 256,998 | $ 278,332 | $ 279,251 | ||
| Marketable securities | 68,561 | 94,957 | 91,537 | 0 | 80,707 | 80,015 | 79,625 | 79,676 | ||
| Accounts receivable, net | 16,847 | 13,889 | 14,332 | 14,175 | 13,877 | 11,800 | 11,936 | 11,755 | ||
| Inventories | 5,404 | 4,608 | 4,674 | 4,394 | 4,184 | 3,996 | 3,955 | 3,780 | ||
| Prepaid expenses and other current assets | 18,967 | 19,762 | 15,278 | 18,075 | 14,699 | 14,246 | 13,727 | 12,155 | ||
| Total current assets | 334,432 | 323,236 | 329,518 | 330,074 | 343,988 | 367,055 | 387,575 | 386,617 | ||
| Property and equipment, net of accumulated depreciation of $376,760 and $290,362, respectively | 530,995 | 525,557 | 500,085 | 479,617 | 467,031 | 441,870 | 411,018 | 398,971 | ||
| Operating lease assets | 398,296 | 397,870 | 385,386 | 379,475 | 367,488 | 370,536 | 361,522 | 346,128 | ||
| Deferred income taxes, net | 326,208 | 319,244 | 319,113 | 318,626 | 317,626 | 321,181 | 319,435 | 318,371 | $ 312,873 | |
| Other assets | 15,926 | 16,037 | 15,802 | 16,211 | 15,817 | 15,330 | 14,735 | 13,846 | ||
| TOTAL ASSETS | 1,605,857 | 1,581,944 | 1,549,904 | 1,524,003 | 1,511,950 | 1,515,972 | 1,494,285 | 1,463,933 | 1,471,775 | |
| Current liabilities: | ||||||||||
| Accounts payable | 22,273 | 21,251 | 17,005 | 16,002 | 20,407 | 17,210 | 16,420 | 13,395 | ||
| Accrued expenses | 54,742 | 47,630 | 50,588 | 45,677 | 47,945 | 49,387 | 40,013 | 38,997 | ||
| Accrued wages and related liabilities | 20,945 | 18,164 | 18,221 | 18,678 | 17,576 | 17,758 | 18,440 | 16,032 | ||
| Operating lease liabilities, current | 49,004 | 47,610 | 46,490 | 44,578 | 42,238 | 40,690 | 38,775 | 36,951 | ||
| Other current liabilities | 17,103 | 17,522 | 17,881 | 18,117 | 19,552 | 19,497 | 20,261 | 20,586 | ||
| Total current liabilities | 164,067 | 152,177 | 150,185 | 143,052 | 147,718 | 144,542 | 133,909 | 125,961 | ||
| Long-term debt | 245,636 | 245,375 | 245,113 | 244,851 | 244,589 | 244,328 | 244,066 | 243,804 | ||
| Long-term operating lease liabilities | 464,533 | 463,370 | 448,580 | 441,554 | 427,227 | 429,165 | 418,010 | 399,487 | ||
| Liabilities under tax receivable agreement, net of current portion | 235,613 | 235,614 | 235,361 | 235,361 | 234,893 | 234,892 | 234,862 | 234,273 | ||
| Other long-term liabilities | 26,638 | 26,322 | 22,218 | 22,192 | 20,687 | 20,588 | 21,597 | 20,944 | ||
| Total liabilities | 1,136,487 | 1,122,858 | 1,101,457 | 1,087,010 | 1,075,114 | 1,073,515 | 1,052,444 | 1,024,469 | ||
| Commitments and contingencies (Note 13) | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock, no par value—10,000,000 shares authorized; none issued and outstanding as of September 27, 2023 and December 28, 2022. | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Additional paid-in capital | 426,601 | 423,849 | 421,394 | 417,489 | 415,649 | 413,291 | 410,537 | 406,998 | 405,957 | |
| Retained earnings (accumulated deficit) | 16,777 | 9,554 | 1,927 | (5,021) | (3,487) | 4,368 | 6,392 | 7,580 | 17,742 | |
| Accumulated other comprehensive loss | (3) | (3) | (4) | (4) | 0 | (1) | (1) | 0 | ||
| Total stockholders' equity attributable to Shake Shack Inc. | 443,417 | 433,442 | 423,359 | 412,506 | 412,204 | 417,700 | 416,970 | 414,620 | ||
| Non-controlling interests | 25,953 | 25,644 | 25,088 | 24,487 | 24,632 | 24,757 | 24,871 | 24,844 | ||
| Total equity | 469,370 | 459,086 | 448,447 | 436,993 | 436,836 | 442,457 | 441,841 | 439,464 | 449,805 | $ 444,587 | 
| TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY | 1,605,857 | 1,581,944 | 1,549,904 | 1,524,003 | 1,511,950 | 1,515,972 | 1,494,285 | 1,463,933 | $ 1,471,775 | |
| Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | 39 | 39 | 39 | 39 | 39 | 39 | 39 | 39 | ||
| Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | 
CONSOLIDATED STATEMENTS OF INCOME (LOSS) - USD ($) shares in Thousands, $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| TOTAL REVENUE | $ 276,207 | $ 271,805 | $ 253,278 | $ 227,814 | $ 230,752 | $ 203,391 | $ 1,087,533 | $ 900,486 | $ 739,893 | 
| Shack-level operating expenses: | |||||||||
| Food and paper costs | 77,180 | 75,800 | 71,772 | 67,774 | 65,987 | 59,884 | 305,041 | 261,584 | 218,262 | 
| Labor and related expenses | 76,233 | 75,158 | 74,264 | 64,638 | 65,851 | 60,465 | 304,254 | 257,358 | 215,114 | 
| Other operating expenses | 37,307 | 36,109 | 34,936 | 33,680 | 32,151 | 30,171 | 149,449 | 129,650 | 102,032 | 
| Occupancy and related expenses | 20,300 | 19,801 | 18,583 | 17,337 | 16,657 | 16,276 | 79,846 | 68,508 | 59,228 | 
| General and administrative expenses | 30,939 | 31,476 | 31,311 | 26,931 | 29,487 | 31,386 | 129,542 | 120,009 | 87,196 | 
| Depreciation and amortization expense | 23,130 | 22,252 | 21,322 | 18,647 | 18,087 | 16,855 | 91,242 | 72,796 | 58,991 | 
| Pre-opening costs | 4,969 | 5,577 | 3,557 | 3,041 | 2,823 | 2,712 | 19,231 | 15,050 | 13,291 | 
| Impairment and loss on disposal of assets | 492 | 884 | 722 | 592 | 528 | 577 | 3,007 | 2,425 | 1,632 | 
| TOTAL EXPENSES | 270,550 | 267,057 | 256,467 | 232,640 | 231,571 | 218,326 | 1,081,612 | 927,380 | 755,746 | 
| INCOME (LOSS) FROM OPERATIONS | 5,657 | 4,748 | (3,189) | (4,826) | (819) | (14,935) | 5,921 | (26,894) | (15,853) | 
| Other income, net | 3,441 | 3,227 | 2,837 | 1,482 | 538 | (289) | 12,776 | 4,127 | 95 | 
| Interest expense | (433) | (405) | (403) | (475) | (315) | (355) | (1,717) | (1,518) | (1,577) | 
| INCOME (LOSS) BEFORE INCOME TAXES | 8,665 | 7,570 | (755) | (3,819) | (596) | (15,579) | 16,980 | (24,285) | (17,335) | 
| Income tax benefit | 529 | 347 | 867 | (1,508) | 707 | (4,297) | (4,010) | (1,180) | (11,318) | 
| NET INCOME (LOSS) | 8,136 | 7,223 | (1,622) | (2,311) | (1,303) | (11,282) | 20,990 | (23,105) | (6,017) | 
| Less: Net income (loss) attributable to non-controlling interests | $ 509 | $ 275 | $ (88) | $ (287) | $ (115) | $ (1,120) | 726 | (1,876) | (1,456) | 
| NET INCOME (LOSS) ATTRIBUTABLE TO SHAKE SHACK INC. | $ 20,264 | $ (21,229) | $ (4,561) | ||||||
| Earnings (loss) per share of Class A common stock: | |||||||||
| Basic (in dollars per share) | $ 0.19 | $ 0.18 | $ (0.04) | $ (0.05) | $ (0.03) | $ (0.26) | $ 0.51 | $ (0.54) | $ (0.12) | 
| Diluted (in dollars per share) | $ 0.19 | $ 0.16 | $ (0.04) | $ (0.05) | $ (0.03) | $ (0.26) | $ 0.48 | $ (0.54) | $ (0.12) | 
| Weighted average shares of Class A common stock outstanding: | |||||||||
| Basic (in shares) | 39,460 | 39,416 | 39,332 | 39,274 | 39,227 | 39,163 | 39,419 | 39,237 | 39,085 | 
| Diluted (in shares) | 43,978 | 43,886 | 39,332 | 39,274 | 39,227 | 39,163 | 43,899 | 39,237 | 39,085 | 
| Shack sales | |||||||||
| TOTAL REVENUE | $ 264,980 | $ 261,810 | $ 244,254 | $ 219,501 | $ 223,054 | $ 196,791 | $ 1,046,819 | $ 869,270 | $ 714,989 | 
| Licensing revenue | |||||||||
| TOTAL REVENUE | $ 11,227 | $ 9,995 | $ 9,024 | $ 8,313 | $ 7,698 | $ 6,600 | $ 40,714 | $ 31,216 | $ 24,904 | 
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Statement of Comprehensive Income [Abstract] | |||
| Net income (loss) | $ 20,990 | $ (23,105) | $ (6,017) | 
| Other comprehensive income (loss), net of tax: | |||
| Change in foreign currency translation adjustment | (3) | (1) | (2) | 
| OTHER COMPREHENSIVE LOSS | (3) | (1) | (2) | 
| COMPREHENSIVE INCOME (LOSS) | 20,987 | (23,106) | (6,019) | 
| Less: Comprehensive income (loss) attributable to non-controlling interests | 726 | (1,876) | (1,456) | 
| COMPREHENSIVE INCOME (LOSS) ATTRIBUTABLE TO SHAKE SHACK INC. | $ 20,261 | $ (21,230) | $ (4,563) | 
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical) - USD ($)  | 
12 Months Ended | ||||
|---|---|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|||
| Statement of Comprehensive Income [Abstract] | |||||
| Income tax benefit | [1] | $ 0 | $ 0 | $ 0 | |
  | |||||
CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Property and equipment, net of accumulated depreciation | $ 376,760 | $ 353,303 | $ 331,571 | $ 310,939 | $ 290,362 | $ 271,938 | $ 254,291 | $ 236,933 | 
| Preferred stock, par value (in dollars per share) | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | 
| Preferred stock, shares authorized (in shares) | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 
| Preferred stock, shares issued (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
| Preferred stock, shares outstanding (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
| Class A Common Stock | ||||||||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | 
| Common stock, shares authorized (in shares) | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 
| Common stock, shares, issued (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | 
| Common stock, shares, outstanding (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | 
| Class B Common Stock | ||||||||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | 
| Common stock, shares authorized (in shares) | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 
| Common stock, shares, issued (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | 
| Common stock, shares, outstanding (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | 
NATURE OF OPERATIONS  | 
12 Months Ended | 
|---|---|
Dec. 27, 2023  | |
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |
| NATURE OF OPERATIONS | NATURE OF OPERATIONS Shake Shack Inc. was formed on September 23, 2014 as a Delaware corporation for the purpose of facilitating an initial public offering and other related transactions in order to carry on the business of SSE Holdings, LLC and its subsidiaries ("SSE Holdings"). Shake Shack Inc. is the sole managing member of SSE Holdings and, as sole managing member, the Company operates and controls all of the business and affairs of SSE Holdings. As a result, the Company consolidates the financial results of SSE Holdings and reports a non-controlling interest representing the economic interest in SSE Holdings held by the other members of SSE Holdings. As of December 27, 2023 the Company owned 93.3% of SSE Holdings. Unless the context otherwise requires, "we," "us," "our," "Shake Shack," the "Company" and other similar references, refer to Shake Shack Inc. and, unless otherwise stated, all of its subsidiaries, including SSE Holdings. The Company operates and licenses Shake Shack restaurants ("Shacks"), which serve burgers, chicken, hot dogs, crinkle cut fries, shakes, frozen custard, beer, wine and more. As of December 27, 2023, there were 518 Shacks in operation, system-wide, of which 295 were domestic Company-operated Shacks, 39 were domestic licensed Shacks and 184 were international licensed Shacks.
 | 
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | |||||||||||||||||||||||||||||||||||||
| SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES | SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Basis of Presentation The accompanying Consolidated Financial Statements have been prepared in accordance with accounting principles generally accepted in the United States of America ("GAAP") and include the accounts of Shake Shack Inc. and its subsidiaries. All intercompany accounts and transactions have been eliminated in consolidation. Certain reclassifications have been made to prior period amounts to conform to the current year presentation.  The Company has elected to reclassify certain marketing expenses for prior periods to conform with the presentation for the fiscal year ended December 27, 2023. These reclassifications had no effect on previously reported Net Income (Loss). For the fiscal year ended December 28, 2022 and December 29, 2021, the Company reclassified $1,219 and $1,200, respectively from Other operating expenses to General and administrative expenses in the accompanying Consolidated Statements of Income (Loss). SSE Holdings is considered a variable interest entity. Shake Shack Inc. is the primary beneficiary as the Company has the majority economic interest in SSE Holdings and, as the sole managing member, has decision making authority that significantly affects the economic performance of the entity, while the limited partners have no substantive kick-out or participating rights. As a result, the Company consolidates SSE Holdings. The assets and liabilities of SSE Holdings represent substantially all of the Company's consolidated assets and liabilities with the exception of certain deferred taxes and liabilities under the Tax Receivable Agreement. As of December 27, 2023 and December 28, 2022, the net assets of SSE Holdings were $388,250 and $362,571, respectively. The assets of SSE Holdings are subject to certain restrictions in SSE Holdings' revolving credit agreement. Refer to Note 9, Debt, and Note 15, Income Taxes, for additional information. Fiscal Year The Company operates on a 52/53 week fiscal year ending on the last Wednesday of December. Fiscal 2023 contained 52 weeks and ended on December 27, 2023 ("fiscal 2023"). Fiscal 2022 contained 52 weeks and ended on December 28, 2022 ("fiscal 2022"). Fiscal 2021 contained 52 weeks and ended on December 29, 2021 ("fiscal 2021"). Unless otherwise stated, references to years in this report relate to fiscal years. Use of Estimates The preparation of these Consolidated Financial Statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the  date of the financial statements, and the reported amounts of sales and expenses during the reporting period. Actual results could differ from those estimates. Segment Reporting The chief operating decision maker (the "CODM") is the Chief Executive Officer. The Company determined it has one operating segment and one reportable segment, as the CODM regularly reviews Shack operations and financial performance at a consolidated level to allocate resources. Fair Value Measurements The Company applies fair value accounting for all financial assets and liabilities and non-financial assets and liabilities that are recognized or disclosed at fair value in the financial statements on a recurring basis. Assets and liabilities are categorized based on the priority of the inputs to the valuation technique into a three-level fair value hierarchy as set forth below.  ▪Level 1 — Quoted prices in active markets for identical assets or liabilities. ▪Level 2 — Observable inputs other than quoted prices in active markets for identical assets or liabilities, quoted prices for identical assets or liabilities in inactive markets, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the asset or liability. ▪Level 3 — Inputs that are both unobservable and significant to the overall fair value measurements reflecting an entity's estimates of assumptions that market participants would use in pricing the asset or liability. Cash and Cash Equivalents Cash and cash equivalents consist primarily of cash on hand, deposits with banks, money market funds and short-term, highly liquid investments that have original maturities of three months or less. Cash equivalents are stated at cost, which approximates fair value. Marketable Securities Marketable securities classified as available-for-sale securities consist of mutual funds that primarily invest in corporate bonds, certificates of deposits, asset-backed securities, commercial paper, U.S. Treasury obligations, and foreign government securities. Available-for-sale securities are recorded at fair value, with unrealized gains and losses recorded in Other income, net. Dividend and interest income are recognized when earned and are recorded in Other income, net on the Consolidated Statements of Income (Loss). Held-to-maturity securities consist of U.S. Treasuries for which the Company has the ability and intent to hold to maturity and are reported at amortized cost, net of a valuation allowance for credit losses. Interest income and the amortization of discounts and premiums are recorded in Other income, net on the Consolidated Statements of Income (Loss). No expected credit losses were recognized as of December 27, 2023. Accounts Receivable, Net Accounts receivable, net consist primarily of receivables from our licensees for licensing revenue and related reimbursements, credit card receivables and vendor rebates. The collectability of accounts receivable is evaluated based on a variety of factors, including historical experience, current economic conditions and other factors.  Inventories Inventories, which consist of food, paper goods, beverages, beer, wine and retail merchandise, are valued at the lower of weighted average cost or net realizable value. No adjustment is deemed necessary to reduce inventory to net realizable value due to the rapid turnover and high utilization of inventory. Property and Equipment, Net Property and equipment, net is stated at historical cost less accumulated depreciation. Property and equipment are depreciated using the straight-line method over the estimated useful lives of the assets, which generally range from  to seven years for equipment, furniture and fixtures, and  to five years for computer equipment and software. Leasehold improvements are depreciated over the shorter of their estimated useful lives or the related lease terms.  Costs incurred when constructing Shacks are capitalized. The cost of repairs and maintenance are expensed when incurred. Costs for refurbishments and improvements that significantly increase the productive capacity or extend the useful life of the assets are capitalized. When assets are disposed, the resulting gain or loss is recognized in Impairment and loss on disposal of assets on the Consolidated Statements of Income (Loss).  Valuation of Long-lived Assets The Company assesses potential impairments to its long-lived assets, which include property and equipment and operating and finance lease right-of-use assets, whenever events or circumstances indicate that the carrying value of an asset may not be recoverable. The recoverability evaluation is first performed at the market service area level ("MSA"). If the carrying value of the MSA exceeds its estimated undiscounted future cash flows, a secondary recoverability test is performed for all individual Shacks within the identified MSA. An impairment charge is recognized when the carrying amount of the asset exceeds the fair value of the asset, considering external market participant assumptions, and is allocated across all assets of the impaired Shack. Since the determination of future cash flows is an estimate of future performance, there may be future impairments in the event that future cash flows do not meet expectations. Refer to Note 5, Fair Value Measurements, for additional information. Deferred Financing Costs Deferred financing costs incurred in connection with the issuance of long-term debt and establishing credit facilities are capitalized and amortized in Interest expense based on the related debt agreements. Deferred financing costs are included in Other assets on the Consolidated Balance Sheets. Other Assets Other assets consist primarily of capitalized implementation costs from cloud computing arrangements, certain custom pre-ordered furniture, fixtures and equipment for future and existing Shacks, transferable liquor licenses, and security deposits.  Implementation costs associated with cloud computing arrangements hosted by third-party vendors are capitalized when incurred during the application development phase. Amortization is calculated on a straight-line basis over the contractual term of the cloud computing arrangement and is recorded within General and administrative expenses on the Consolidated Statements of Income (Loss). As of December 27, 2023 and December 28, 2022, capitalized implementation costs from cloud computing arrangements totaled $5,572 and $6,212, respectively, net of accumulated amortization. The costs of obtaining non-transferable liquor licenses that are directly issued by local government agencies for nominal fees are expensed as incurred. The costs of purchasing transferable liquor licenses through open markets in jurisdictions with a limited number of authorized liquor licenses are capitalized as indefinite-lived intangible assets. Annual liquor license renewal fees, for both types of licenses, are expensed over the renewal term. As of December 27, 2023 and December 28, 2022, indefinite-lived intangible assets relating to transferable liquor licenses totaled $1,903 and $1,837, respectively. Indefinite-lived intangible assets are evaluated for impairment at least annually during the fourth quarter, and whenever events or circumstances indicate that an impairment may exist. When evaluating intangible assets for impairment, the Company first performs a qualitative assessment to determine whether it is more likely than not that an intangible asset group is impaired. If determined that it is more likely than not that the carrying value of the intangible asset group exceeds its fair value, the Company performs a quantitative assessment to derive the fair value of the intangible asset group. If the carrying value of the intangible asset group exceeds the estimated fair value, an impairment charge is recorded to reduce the carrying value to the estimated fair value. In addition, the Company continuously monitors and may revise the useful lives of intangible assets when facts and circumstances change. Revenue Recognition  Revenue primarily consists of Shack sales and Licensing revenue. Generally, revenue is recognized as promised goods or services transfer to the guest or customer in an amount that reflects the consideration the Company expects to be entitled to in exchange for those goods or services.  Shack Sales Revenue from Shack sales is recognized when payment is tendered at the point of sale, net of discounts, as the performance obligation has been satisfied at that time. Sales tax collected from guests is excluded from Shack sales and the obligation is included as sales tax payable until the taxes are remitted to the appropriate taxing authorities.  Delivery services are fulfilled by third-party delivery partners whether ordered through the Shack app, website ("Company-owned platforms") or through third-party delivery platforms. Revenue from orders through Company-owned platforms includes delivery fees and is recognized when the delivery partner transfers the order to the guest as the Company controls the delivery. For these sales, the Company receives payment directly from the guest at the time of sale. Revenue from orders through third-party delivery partners is recognized when the order is transferred to the third-party delivery partner and excludes delivery fees collected by the delivery platforms as the Company does not control the delivery. The Company receives payment from the delivery partner subsequent to the transfer of the order and the payment terms are short-term in nature. For all delivery sales, the Company is considered the principal and recognizes revenue on a gross basis. The Company sells gift cards which do not have expiration dates. Revenue from gift cards is recognized when gift cards are redeemed by the customer or, in the event a gift card is not expected to be redeemed, in proportion to actual redemptions of gift cards ("gift card breakage"). The gift card breakage rate is determined from historical gift card redemption patterns. Gift card breakage income for fiscal 2023 and 2022 was $327 and $1,472, respectively. During fiscal 2022, the Company concluded it had accumulated a sufficient level of historical data from a large pool of homogeneous transactions to allow it to reasonably and objectively determine an estimated gift card breakage rate and the pattern of actual gift card redemptions. In accordance with ASC 250, Accounting Changes and Error Corrections, the Company concluded that this accounting change represented a change in accounting estimate. As a result, a cumulative catch-up adjustment was recorded during fiscal 2022 that resulted in $1,281 of gift card breakage income. Gift card breakage income is included in Shack sales in the Consolidated Statements of Income (Loss). Licensing Revenue Licensing revenue includes initial territory fees, Shack opening fees and ongoing sales-based royalty fees from licensed Shacks. Generally, the licenses granted to develop, open and operate each Shack in a specified territory are the predominant good or service transferred to the licensee and represent distinct performance obligations. Ancillary promised services, such as training and assistance during the initial opening of a Shack, are typically combined with the license and considered one performance obligation per Shack.  The Company determines the transaction price for each contract, which is comprised of the initial territory fee and an estimate of the total Shack opening fees the Company expects to be entitled to. The calculation of total Shack opening fees requires judgment, as it is based on an estimated number of Shacks the Company expects the licensee to open. The transaction price is then allocated equally to each Shack expected to open. The performance obligation is satisfied over time, starting when a Shack opens through the end of the license term for the related Shack therefore revenue is recognized on a straight-line basis over the license term.  Generally, payment for the initial territory fee is received upon execution of the license agreement and payment for the Shack opening fees is received either in advance of or upon opening the related Shack. These payments are initially deferred and recognized in revenue as the performance obligations are satisfied. Revenue from sales-based royalties is recognized as the related sales occur. Equity-based Compensation Equity-based compensation expense is measured based on the grant-date fair value of the awards. For awards with graded-vesting features and service conditions only, compensation expense is recognized on a straight-line basis over the total requisite  service period for the entire award. For awards with graded-vesting features and a combination of service and performance conditions, compensation expense is recognized using a graded-vesting attribution method over the vesting period based on the most probable outcome of the performance conditions. For awards with cliff vesting features and a combination of service and performance conditions, compensation expense is recognized on a straight-line basis over the total requisite service period for the entire award. Actual distributed shares are calculated upon conclusion of the service and performance periods. Forfeitures are recognized as they occur for all equity awards. Equity-based compensation expense is included in General and administrative expenses and Labor and related expenses on the Consolidated Statements of Income (Loss). Advertising Most advertising costs are expensed as incurred, with the exception of advertising production costs, which are expensed at the time the advertising first takes place. Advertising costs totaled $12,437, $12,376 and $5,677 in fiscal 2023, fiscal 2022 and fiscal 2021, respectively, and are included in General and administrative expense and Other operating expenses on the Consolidated Statements of Income (Loss). Leases Shake Shack currently leases all of its domestic Company-operated Shacks, the home office and certain equipment under various non-cancelable lease agreements that expire on various dates through 2045. The Company evaluates contracts entered into to determine whether the contract involves the use of property or equipment, which is either explicitly or implicitly identified in the contract. The Company evaluates whether it controls the use of the asset, which is determined by assessing whether substantially all economic benefit from the use of the asset is obtained, and whether the Company has the right to direct the use of the asset. If these criteria are met, the Company has identified a lease, within the contract, and therefore a right of use asset and lease liability are recorded on the Consolidated Balance Sheets. Upon possession of a leased asset, the Company determines whether the lease is an operating or finance lease. All of the Company's real estate leases are classified as operating leases and most equipment leases are classified as finance leases. Generally, real estate leases have initial terms ranging from 10 to 15 years and typically include two five-year renewal options. Renewal options are generally not recognized as part of the right-of-use assets and lease liabilities as it is not reasonably certain at commencement date that the Company would exercise the renewal options. Real estate leases typically contain fixed minimum rent payments and/or contingent rent payments which are based upon sales in excess of specified thresholds. When the achievement of such sales thresholds are deemed to be probable, contingent rent is accrued in proportion to the sales recognized during the period.  For operating leases, fixed lease payments are recognized as operating lease costs on a straight-line basis over the lease term within the Consolidated Statements of Income (Loss) in the following line items. Lease expense incurred before a Shack opens is recorded in Pre-opening costs. Once a domestic Company-operated Shack opens, the straight-line lease expense and contingent rent, if applicable, are recorded in Occupancy and related expenses. Many of these leases also require the Company to pay real estate taxes, common area maintenance costs and other occupancy costs which are included in Occupancy and related expenses. Finance leases are recognized in depreciation expense on a straight-line basis over the remaining lease term, along with recognition of interest expense associated with accretion of the lease liability.  For both operating and finance leases that contain lease and non-lease components, the components are combined and accounted for as a single lease component. Variable lease costs for both operating and finance leases, if any, are recognized as incurred. Leases with a term of 12 months or less are deemed short-term and are not recognized on the Consolidated Balance Sheets. Fixed lease payments for short-term leases are recognized on a straight-line basis over the lease term. The Company calculates operating lease assets and lease liabilities as the present value of fixed lease payments over the reasonably certain lease term beginning at the commencement date. The Company uses its incremental borrowing rate (“IBR”) in determining the present value of future lease payments as there are no explicit rates provided in the leases. The IBR used to measure the lease liability is derived from the average of the yield curves obtained from using the notching method and the recovery rate method. The most significant assumption in calculating the IBR is the Company's credit rating and is subject to judgment. The credit rating used to develop the IBR is determined by utilizing the credit ratings of other public companies with similar financial information as SSE Holdings. The Company expends cash for leasehold improvements to build out and equip leased properties. Generally, a portion of the leasehold improvements and building costs are reimbursed by the landlords through landlord incentives pursuant to agreed-upon terms in the lease agreements. Landlord incentives usually take the form of cash, full or partial credits against future minimum or contingent rents otherwise payable by the Company, or a combination thereof. In most cases, landlord incentives are received after the Company takes possession of the property and as milestones are met during the construction of the property. The Company includes these amounts in the measurement of the initial operating lease liability, and lease asset. Pre-opening Costs Pre-opening costs are expensed as incurred and consist primarily of occupancy, manager and team member wages, cookware, travel and lodging costs for the opening training team and other supporting team members, marketing expenses, legal fees, and inventory costs incurred prior to the opening of a Shack. Income Taxes Income taxes are accounted for pursuant to the asset and liability method which requires the recognition of deferred income tax assets and liabilities related to the expected future tax consequences arising from temporary differences between the carrying values and tax bases of assets and liabilities based on enacted statutory tax rates applicable to the periods in which the temporary differences are expected to reverse. Any effects of changes in income tax rates or laws are included in Income tax expense on the Consolidated Statements of Income (Loss) in the period of enactment. A valuation allowance is recognized if we determine it is more likely than not that all or a portion of a deferred tax asset will not be recognized. In making such determination, the Company considers all available evidence, including scheduled reversals of deferred tax liabilities, projected future taxable income, tax planning strategies and recent and expected future results of operations. Recently Issued Accounting Pronouncements      Accounting standards updates ("ASU") applicable to the Company that were issued in 2023 are summarized below. 
 All other ASUs issued but not yet effective are not applicable or not expected to have a material impact on the Company’s future Consolidated Financial Statements. 
 | 
||||||||||||||||||||||||||||||||||||
RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Changes and Error Corrections [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS | RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS In connection with the preparation of the Company's Consolidated Financial Statements as of and for the fiscal year ended December 27, 2023, the Company discovered that in prior years it had not appropriately accounted for the deferred tax asset associated with its investment in SSE Holdings, primarily due to incorrect accounting for state tax depreciation. The error resulted in an overstatement of income tax expense of approximately $2,862 for the fiscal year ended December 28, 2022 and an understatement of income tax benefit of $4,094 for the fiscal year ended December 29, 2021 and deferred tax assets were  understated for the impacted periods. The error also resulted in an understatement of retained earnings and deferred tax assets as of December 26, 2020 of approximately $10,094 related to prior periods. The error did not impact total revenue or loss before income taxes for the fiscal years ended December 28, 2022 and December 29, 2021.  The misstatements were material to the previously issued financial statements of the Company and as a result, the Company has restated its Consolidated Balance Sheets, Consolidated Statements of Loss, Consolidated Statements of Comprehensive Loss, Consolidated Statements of Stockholder's Equity, and Consolidated Statements of Cash Flows as of and for the fiscal years ended December 28, 2022 and December 29, 2021 presented herein. The restatement includes adjustments to Deferred income taxes, net, Additional paid-in capital, Retained earnings (accumulated deficit), Income tax expense (benefit), Net income (loss), Net income (loss) attributable to Shake Shack Inc., and Earnings (loss) per share.  The impact of the correction of the misstatements is summarized below: 
 
 
 
 All referenced amounts for prior periods in these financial statements and the notes herein reflect the balances and amounts on a restated basis. Restatement of Interim Financial Information (Unaudited) The Company has restated its unaudited Condensed Consolidated Balance Sheets and Condensed Consolidated Statements of Stockholder's Equity for the quarterly periods ended March 30, 2022, June 29, 2022, September 28, 2022, March 29, 2023, June 28, 2023 and September 27, 2023. The Condensed Consolidated Statements of Income (Loss) and Condensed Consolidated Statements of Cash Flows for the periods ended March 30, 2022, June 29, 2022, September 28, 2022, March 29, 2023, June 28, 2023 and September 27, 2023 were not impacted by the misstatement. 
 
 
 
 
 
 
 For the thirteen weeks ended June 29, 2022 and September 28, 2022, the effect of the restatement is included in the beginning balances as of March 30, 2022 and June 29, 2022, respectively. As such, only the restated Condensed Consolidated Statements of Stockholders' Equity are shown below. 
 
 
 For the thirteen weeks ended June 28, 2023 and September 27, 2023, the effect of the restatement is included in the beginning balances as of March 29, 2023 and June 28, 2023, respectively. As such, only the restated Condensed Consolidated Statements of Stockholders' Equity are shown below. 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REVENUE  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue from Contract with Customer [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REVENUE | REVENUE Revenue Recognition Revenue disaggregated by type was as follows: 
 The aggregate amount of the transaction price allocated to performance obligations that were unsatisfied or partially unsatisfied as of December 27, 2023 was $23,690. The Company expects to recognize this amount as revenue over a long-term period, as the license term for each Shack ranges from 5 to 20 years. This amount excludes any variable consideration related to sales-based royalties. Contract Balances Contract liabilities and receivables from contracts with customers were as follows: 
 Revenue recognized that was included in the respective liability balances at the beginning of the period was as follows: 
 (1)For fiscal 2022, amount includes the cumulative catch-up adjustment of $1,281 for gift card breakage income. Refer to Note 2, Summary of Significant Accounting Policies, for additional information. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FAIR VALUE MEASUREMENTS  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Disclosures [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FAIR VALUE MEASUREMENTS | FAIR VALUE MEASUREMENTS Assets and Liabilities Measured at Fair Value on a Recurring Basis The carrying values of the Company's Cash and cash equivalents, Accounts receivable, net, Accounts payable and Accrued expenses approximate fair value due to the short-term nature of these financial instruments.  The Company's marketable securities were as follows: 
 The Company classified its available-for-sale and held-to-maturity securities as Level 1 measurements within the fair value hierarchy. Refer to Note 9, Debt, for additional information relating to the fair value of the Company's outstanding debt instruments. The Company's held-to-maturity securities were as follows: 
 As of December 27, 2023, the contractual maturities of held-to-maturity securities were less than 12 months. Any expected credit losses would not be material to the Consolidated Statements of Income (Loss). A summary of other income from investments was as follows: 
 Assets and Liabilities Measured at Fair Value on a Non-Recurring Basis Assets and liabilities measured at fair value on a non-recurring basis include long-lived assets, operating lease right-of-use assets and indefinite-lived intangible assets. The Company performs its impairment analysis at least annually or whenever events or circumstances indicate that the carrying amount of an asset may not be recoverable. No impairment charges were recognized during fiscal 2023. During fiscal 2022, the Company recognized an impairment charge of $99 related to one Shack. These impairment charges were included in Impairment and loss on disposal of assets on the Consolidated Statements of Income (Loss). There were no impairment charges recognized during fiscal 2021. The fair values of assets were determined using an income-based approach and are classified as Level 3 within the fair value hierarchy. Significant inputs include projections of future cash flows, discount rates, Shack sales and profitability.
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACCOUNTS RECEIVABLE, NET  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Receivables [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ACCOUNTS RECEIVABLE, NET | ACCOUNTS RECEIVABLE, NET The components of Accounts receivable, net were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PROPERTY AND EQUIPMENT, NET  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property, Plant and Equipment [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PROPERTY AND EQUIPMENT, NET | PROPERTY AND EQUIPMENT, NET The components of Property and equipment, net were as follows: 
 Depreciation expense was $91,216, $72,770 and $58,961 for fiscal 2023, fiscal 2022 and fiscal 2021, respectively. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SUPPLEMENTAL BALANCE SHEET INFORMATION  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SUPPLEMENTAL BALANCE SHEET INFORMATION | SUPPLEMENTAL BALANCE SHEET INFORMATION The components of Prepaid expenses and other current assets were as follows: 
 The components of Other current liabilities were as follows: 
 The components of Other long-term liabilities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DEBT  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Debt Disclosure [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DEBT | DEBT Convertible Notes The Company's $250,000 aggregate principal amount of 0% Convertible Senior Notes due 2028 (“Convertible Notes”) will mature on March 1, 2028, unless earlier converted, redeemed or repurchased in certain circumstances. Upon conversion, the Company pays or delivers, as the case may be, cash, shares of Class A common stock or a combination of cash and shares of Class A common stock, at the Company's election. The Convertible Notes are convertible at the option of the holders at any time prior to the close of business on the business day immediately preceding December 1, 2027, only under the following circumstances: (1) during any fiscal quarter commencing after the fiscal quarter ending on June 30, 2021 (and only during such fiscal quarter), if the last reported sale price of the Company's Class A common stock, par value $0.001 per share, for at least 20 trading days (whether or not consecutive) during a period of 30 consecutive trading days ending on, and including, the last trading day of the immediately preceding fiscal quarter is greater than or equal to 130% of the conversion price for the Convertible Notes on each applicable trading day; (2) during the five business day period after any ten consecutive trading day period (the “measurement period”) in which the trading price (as defined in the Indenture) per one thousand dollar principal amount of the Convertible Notes for each trading day of the measurement period was less than 98% of the product of the last reported sale price of Class A common stock and the conversion rate for the Convertible Notes on each such trading day; (3) if the Company calls such Convertible Notes for redemption, at any time prior to the close of business on the scheduled trading day immediately preceding the redemption date, but only with respect to the Convertible Notes called (or deemed called) for redemption; and (4) upon the occurrence of specified corporate events as set forth in the Indenture. On or after December 1, 2027, until the close of business on the second scheduled trading day immediately preceding the maturity date, holders of the Convertible Notes may convert all or any portion of their Convertible Notes at any time, regardless of the foregoing circumstances.  The Convertible Notes had an initial conversion rate of 5.8679 shares of Class A common stock per one thousand dollar principal amount of Convertible Notes, which is equivalent to an initial conversion price of approximately $170.42 per share of Class A common stock. The fair value of the Convertible Notes was approximately $205,000 and $162,500, respectively, as of December 27, 2023 and December 28, 2022, based on external pricing data, including available quoted market prices of these  instruments, and consideration of comparable debt instruments with similar interest rates and trading frequency, among other factors, and is classified as a Level 2 measurement within the fair value hierarchy. The Company may not redeem the Convertible Notes prior to March 6, 2025. The Company may redeem for cash all or any portion of the Convertible Notes, at the Company's option, on or after March 6, 2025 if the last reported sale price of Class A common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period (including the last trading day of such period) ending on, and including, the trading day immediately preceding the date on which the Company provides notice of redemption at a redemption price equal to 100% of the principal amount of the Convertible Notes to be redeemed, plus accrued and unpaid special interest, if any, to, but excluding, the redemption date. In addition, if Shake Shack undergoes a fundamental change (as defined in the indenture governing the Convertible Notes), subject to certain conditions, holders may require it to repurchase for cash all or any portion of their Convertible Notes at a repurchase price equal to 100% of the principal amount of the Convertible Notes to be repurchased, plus accrued and unpaid special interest, if any, to, but excluding, the fundamental change repurchase date. In addition, following certain corporate events that occur prior to the maturity date of the Convertible Notes or if the Company delivers a notice of redemption in respect of some or all of the Convertible Notes, the Company will, in certain circumstances, increase the conversion rate of the Convertible Notes for a holder who elects to convert the Convertible Notes in connection with such a corporate event or convert the Convertible Notes called (or deemed called) for redemption during the related redemption period, as the case may be. Contemporaneously with the issuance of the Convertible Notes, Shake Shack Inc. entered into an intercompany note with SSE Holdings (“Intercompany Note”). SSE Holdings promises to pay Shake Shack Inc., for value received, the principal amount with interest of the Intercompany Note in March 2028. Shake Shack Inc. will exercise its right to convert the Intercompany Note to maintain at all times a one-to-one ratio between the number of common units, directly or indirectly, held by Shake Shack Inc. and the aggregate number of outstanding shares of common stock. 
 
 Revolving Credit Facility The Company maintains a revolving credit facility agreement ("Revolving Credit Facility") which permits borrowings up to $50,000 with the ability to increase available borrowings up to an additional $100,000, subject to satisfaction of certain conditions. The Revolving Credit Facility has a maturity date of March 5, 2026.  In fiscal 2023, the Company entered into the fourth amendment to the Revolving Credit Facility ("Fourth Amendment"), which, among other things, modified the benchmark interest rate to either: (i) the base rate plus applicable margin ranging from 0.0% to 1.5% or (ii) the Secured Overnight Financing Rate (“SOFR”) plus applicable margin ranging from 1.0% to 2.5%, in each case depending on the net lease adjusted leverage ratio. As of December 27, 2023 and December 28, 2022, no amounts were outstanding under the Revolving Credit Facility. The obligations under the Revolving Credit Facility are secured by a first-priority security interest in substantially all of the assets of SSE Holdings and the guarantors. The obligations under the Revolving Credit Facility are guaranteed by each of SSE Holdings' direct and indirect subsidiaries, with certain exceptions. The Revolving Credit Facility requires the Company to comply  with maximum net lease adjusted leverage and minimum fixed charge coverage ratios, as well as other customary affirmative and negative covenants. As of December 27, 2023, the Company was in compliance with all covenants. The Revolving Credit Facility also permits the issuance of letters of credit upon our request of up to $15,000. As of December 27, 2023 and December 28, 2022, the Company had outstanding letters of credit of $3,147 and $1,863, respectively, in connection with the Revolving Credit Facility. 
 (1) Interest expense for fiscal 2021 primarily included the write-off of previously capitalized costs on the Revolving Credit Facility. 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LEASES  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Leases [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LEASES | LEASES A summary of operating and finance right-of-use assets and lease liabilities were as follows: 
 The components of lease expense were as follows: 
 As of December 27, 2023, future minimum lease payments for operating and finance leases consisted of the following: 
 (1)Operating leases are net of certain tenant allowance receivables that were reclassified to Other current assets as of December 27, 2023. As of December 27, 2023 the Company had additional operating lease commitments of $154,198 for non-cancelable leases without a possession date, which commence in 2024 or later. These lease commitments are materially consistent with the leases that have been executed thus far. A summary of lease terms and discount rates for operating and finance leases were as follows: 
 Supplemental cash flow information related to leases was as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LEASES | LEASES A summary of operating and finance right-of-use assets and lease liabilities were as follows: 
 The components of lease expense were as follows: 
 As of December 27, 2023, future minimum lease payments for operating and finance leases consisted of the following: 
 (1)Operating leases are net of certain tenant allowance receivables that were reclassified to Other current assets as of December 27, 2023. As of December 27, 2023 the Company had additional operating lease commitments of $154,198 for non-cancelable leases without a possession date, which commence in 2024 or later. These lease commitments are materially consistent with the leases that have been executed thus far. A summary of lease terms and discount rates for operating and finance leases were as follows: 
 Supplemental cash flow information related to leases was as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EMPLOYEE BENEFIT PLANS  | 
12 Months Ended | 
|---|---|
Dec. 27, 2023  | |
| Compensation Related Costs [Abstract] | |
| EMPLOYEE BENEFIT PLANS | EMPLOYEE BENEFIT PLANS Defined Contribution Plan Team members are eligible to participate in a defined contribution savings plan maintained by Shake Shack. The plan is funded by participant and employer contributions. Employer contributions are paid directly to the third-party trustee and are at the Company's discretion. Employer contributions are based on matching a portion of certain participants' contributions. The Company matches 100% of certain participants' contributions for the first 3% of eligible compensation contributed and 50% of contributions made in excess of 3% of eligible compensation up to 5% of eligible compensation. Employer contributions totaled $1,888, $1,553 and $1,337, respectively, for fiscal 2023, fiscal 2022 and fiscal 2021.
 | 
STOCKHOLDER'S EQUITY  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Equity [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STOCKHOLDER'S EQUITY | STOCKHOLDERS' EQUITY Redemptions of LLC Interests The SSE Holdings LLC Agreement provides that holders of LLC Interests may, from time to time, require SSE Holdings to redeem all or a portion of their LLC Interests for newly-issued shares of Class A common stock on a one-for-one basis. In connection with any redemption or exchange, the Company receives a corresponding number of LLC Interests, increasing its total ownership interest in SSE Holdings. Simultaneously, and in connection with a redemption, the corresponding number of shares of Class B common stock are surrendered and cancelled. A summary of activity related to redemptions of LLC Interests were as follows: 
 Stock Compensation Plan Activity The Company received an aggregate of 154,317, 90,527 and 395,006 LLC Interests in connection with the activity under the stock compensation plan during fiscal 2023, fiscal 2022 and fiscal 2021, respectively.  Dividend Restrictions Shake Shack Inc. is a holding company with no direct operations. As a result, its ability to pay cash dividends on its common stock, if any, is dependent upon cash dividends, distributions or other transfers from SSE Holdings. The amounts available to pay cash dividends are subject to certain covenants and restrictions set forth in the Revolving Credit Facility. As of December 27, 2023, essentially all of the net assets of SSE Holdings were restricted. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NON-CONTROLLING INTERESTS  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Noncontrolling Interest [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NON-CONTROLLING INTERESTS | NON-CONTROLLING INTERESTS Shake Shack is the primary beneficiary and sole managing member of SSE Holdings and, as a result, consolidates the financial results of SSE Holdings. The Company reports a non-controlling interest representing the economic interest in SSE Holdings held by the other members of SSE Holdings. The Third Amended and Restated Limited Liability Company Agreement, as further amended, (the "LLC Agreement") of SSE Holdings provides that holders of LLC Interests may, from time to time, require SSE Holdings to redeem all or a portion of their LLC Interests for newly-issued shares of Class A common stock on a one-for-one basis. In connection with any redemption or exchange, the Company will receive a corresponding number of LLC Interests, increasing the total ownership interest in SSE Holdings. Changes in the ownership interest in SSE Holdings while the Company retains its controlling interest in SSE Holdings will be accounted for as equity transactions. As such, future redemptions or direct exchanges of LLC Interests in SSE Holdings by the other members of SSE Holdings will result in a change in ownership and reduce the amount recorded as non-controlling interest and increase additional paid-in capital. The following table summarizes the ownership interest in SSE Holdings: 
 The weighted average ownership percentages for the applicable reporting periods are used to attribute Net income (loss) and Other comprehensive income (loss) to the non-controlling interest holders.  
 The following table summarizes the effects of changes in ownership of SSE Holdings on the Company's equity: 
 The following table summarizes the LLC Interests activity: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EQUITY-BASED COMPENSATION  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Share-Based Payment Arrangement [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EQUITY-BASED COMPENSATION | EQUITY-BASED COMPENSATION A summary of equity-based compensation expense by award type was as follows: 
 Equity-based compensation expense recognized was as follows: 
 The Company capitalized $286, $192 and $100 of equity-based compensation expense associated with the construction cost of our Shacks and certain digital and technology projects, during fiscal 2023, fiscal 2022 and fiscal 2021, respectively. Restricted Stock Units In January 2015, the Company adopted the 2015 Incentive Award Plan (the "2015 Plan") under which it may grant up to 5,865,522 restricted stock units and other equity-based awards to team members, directors and officers. The restricted stock units granted generally vest equally over periods ranging from  to five years. The fair value of restricted stock units is determined based on the closing market price of our Class A common stock on the date of grant. Compensation expense related to the restricted stock units is recognized using a straight-line attribution method over the vesting period. A summary of restricted stock unit activity was as follows: 
 As of December 27, 2023, there were 511,544 restricted stock units outstanding, of which none were vested. The weighted average grant date fair value of share awards granted during fiscal 2023, fiscal 2022 and fiscal 2021 were $58.26, $71.25, and $117.39, respectively. The total fair value of shares vested during fiscal 2023, fiscal 2022 and fiscal 2021 was $10,382, $5,936 and $8,385, respectively. As of December 27, 2023, total unrecognized compensation expense related to unvested restricted stock units was $25,159, which is expected to be recognized over a weighted average period of 2.6 years. Performance Stock Units Under the 2015 Plan, the Company may grant performance stock units and other types of performance-based equity awards that vest based on the outcome of certain performance criteria that are established and approved by the Compensation Committee of the Board of Directors. The actual number of equity awards earned is based on the level of performance achieved over a predetermined performance period, relative to established financial goals, none of which are considered market conditions.  For performance stock units granted during fiscal 2022, the amount of awards that can be earned ranges from 0% to 200% of the number of performance stock units granted, based on the achievement of approved financial goals over a 1-year or 3-year performance period. In addition to the performance conditions, performance stock units are also subject to a requisite service period and the awards vest ratably over 4 years years or cliff vest over 3 years. No performance stock units were granted during fiscal 2023. The fair value of performance stock units is determined based on the closing market price of our Class A common stock on the date of grant. Compensation expense related to the performance stock units is recognized using either a graded-vesting attribution method or straight-line over the vesting period based on the most probable outcome of the performance conditions. A summary of performance stock unit activity was as follows: 
 (1)Represents the incremental awards earned and/or awards forfeited based on the achievement of performance conditions. As of December 27, 2023, there were 121,425 performance stock units outstanding, of which none were vested. The weighted average grant date fair value of share awards granted during fiscal 2023, fiscal 2022 and fiscal 2021 was nil, nil, and $98.87, respectively. The total fair value of awards that vested during fiscal 2023, fiscal 2022 and fiscal 2021 was $1,441, $1,869 and $3,083, respectively. As of December 27, 2023, total unrecognized compensation expense related to unvested performance stock units was $3,147, which is expected to be recognized over a weighted average period of 1.1 years. Stock Options Under the 2015 Plan, the Company may grant stock options to team members, directors and officers. The stock options granted generally vest equally over periods ranging from  to five years. The Company does not use cash to settle any of the equity-based awards, and issues new shares of Class A common stock upon the exercise of stock options. The fair value of stock option awards was determined on the grant date using the Black-Scholes valuation model based on the following weighted average assumptions: 
 (1)Expected term represents the estimated period of time until an award is exercised and was determined using the simplified method. (2)Expected volatility is based on the historical volatility of a selected peer group over a period equivalent to the expected term. (3)The risk-free rate is an interpolation of yields on U.S. Treasury securities with maturities equivalent to the expected term. (4)A dividend yield of zero was used as the Company have no plans to declare dividends in the foreseeable future. A summary of stock option activity was as follows:  
 As of December 27, 2023, total unrecognized compensation expense related to unvested stock options was nil. Cash received from stock options exercised was $744 and the cash tax benefit realized for the tax deductions from these option exercises was $203 for fiscal 2023. The weighted average grant date fair value of options granted during fiscal 2023, fiscal 2022 and fiscal 2021 was nil, nil, $58.92, respectively. The total intrinsic value of stock options exercised during fiscal 2023, fiscal 2022 and fiscal 2021 was $1,426, $631 and $30,533, respectively. The total fair value of stock options vested during fiscal 2023, fiscal 2022 and fiscal 2021 was nil, nil and $60, respectively.  The following table summarizes information about stock options outstanding and exercisable as December 27, 2023:  
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
INCOME TAXES  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Tax Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| INCOME TAXES | INCOME TAXES Shake Shack is the sole managing member of SSE Holdings and, as a result, consolidates the financial results of SSE Holdings. SSE Holdings is treated as a partnership for U.S. federal and most applicable state and local income tax purposes. As a partnership, SSE Holdings is not subject to U.S. federal and certain state and local income taxes. Any taxable income or loss generated by SSE Holdings is passed through to and included in the taxable income or loss of its members, including the Company, on a pro rata basis. The Company is subject to U.S. federal income taxes, in addition to state and local income taxes with respect to its allocable share of any taxable income or loss of SSE Holdings, as well as any stand-alone income or loss generated by Shake Shack Inc. The Company is also subject to withholding taxes in foreign jurisdictions.   Income Tax Expense The components of Income (loss) before income taxes were as follows: 
 The components of Income tax benefit were as follows:  
 Reconciliations of Income tax benefit computed at the U.S. federal statutory income tax rate to the recognized Income tax benefit and the U.S. statutory income tax rate to our effective tax rates were as follows: 
 Shake Shack's effective income tax rates for fiscal 2023, fiscal 2022 and fiscal 2021 were (23.6)%, 4.9% and 65.3%, respectively. The decrease in the effective income tax rate from fiscal 2022 to fiscal 2023 was primarily driven by additional benefit related to a decrease in valuation allowance and higher tax credits, partially offset by an increase in foreign tax expense and the revaluation of deferred tax assets as a result of a reduction in certain state income tax rates. The decrease in the effective income tax rate from fiscal 2021 to fiscal 2022 was primarily driven by additional expense related to an increase in valuation allowance, an increase in foreign tax expense, and net expense related to equity-based compensation, partially offset by higher tax credits. Deferred Tax Assets and Liabilities The components of deferred tax assets and liabilities were as follows: 
 As of December 27, 2023, the Company's federal and state net operating loss carryforwards for income tax purposes were $596,347 and $327,152, respectively. If not utilized, $544,480 of the Company's federal net operating losses can be carried forward indefinitely, and the remainder will begin to expire in 2035. If not utilized $49,912 of the Company's state net operating loss carryforwards can be carried forward indefinitely, and the remainder will begin to expire in 2024. As of December 27, 2023, the Company had federal tax credit carryforwards of $25,727 which will begin to expire in 2025 and gross state tax credit carryforwards of $406 which will begin to expire in 2024. As described in Note 12, Stockholders' Equity, the Company acquired an aggregate of 189,317 LLC Interests during fiscal 2023 through redemption of LLC Interests and activity under stock-based compensation plans. The Company recognized a deferred tax liability in the amount of $720 associated with the basis difference in its investment in SSE Holdings upon acquisition of these LLC Interests. As of December 27, 2023, the total deferred tax asset related to the basis difference in the Company's investment in SSE Holdings was $90,419.  The Company evaluates the realizability of its deferred tax assets on a quarterly basis and establishes valuation allowances when it is more likely than not that all or a portion of a deferred tax asset may not be realized. As of December 27, 2023, the Company concluded, based on the weight of all available positive and negative evidence, that all of its deferred tax assets are more likely than not to be realized, except certain state attributes that are not expected to be utilized before expiration. As such, a valuation allowance in the amount of $357 was recognized. The net change in valuation allowance for fiscal 2023 was a decrease of $9,201 primarily related to the change in realizability of foreign tax credits. Refer to Schedule II, Valuation and Qualifying Accounts for additional information. Uncertain Tax Positions As of December 27, 2023, the Company assessed its tax positions by applying the two-step recognition and measurement model pursuant to ASC 740 and considering the applicable unit of account. Pursuant to ASC 740-10-25-6, the Company recognizes the financial statement effects of a tax position only when it is more likely than not that the position will be sustained upon examination. At the conclusion of the Company's examination in New York City for tax years 2015 -2017, a reserve of $207 was recognized based on a settlement with the taxing authority. In addition, the Company recognized an uncertain tax reserve of $195 for tax years 2018-2022. Reconciliations of uncertain tax positions were as follows: 
 The Company does not expect a significant increase or decrease in unrecognized tax benefits within the next twelve months. The $147 of unrecognized tax benefits, if recognized, would favorably affect the Company’s effective tax rate. Interest and penalties, if any, related to income tax liabilities are included in income tax expense. During the fiscal year ended December 27, 2023, the Company recognized $139 in interest expense. As of December 27, 2023, the Company accrued $48 of interest expense. Shake Shack Inc. was formed in September 2014 and did not engage in any operations prior to the IPO and other transactions completed in connection with the IPO. The statute of limitations remains open for tax years beginning in 2015 for Shake Shack Inc. Additionally, although SSE Holdings is treated as a partnership for U.S. federal and state income taxes purposes, it is still required to file an annual U.S. Return of Partnership Income, which is subject to examination by the Internal Revenue Service ("IRS"). The statute of limitations has expired for tax years through 2019 for SSE Holdings.  Tax Receivable Agreement Pursuant to the Company's election under Section 754 of the Internal Revenue Code (the "Code"), the Company expects to obtain an increase in its share of the tax basis in the net assets of SSE Holdings when LLC Interests are redeemed or exchanged by the other members of SSE Holdings. The Company plans to make an election under Section 754 of the Code for each taxable year in which a redemption or exchange of LLC Interest occurs. The Company intends to treat any redemptions and exchanges of LLC Interests as direct purchases of LLC Interests for U.S. federal income tax purposes. These increases in tax basis may reduce the amounts that would otherwise be paid in the future to various tax authorities. They may also decrease gains (or increase losses) on future dispositions of certain capital assets to the extent tax basis is allocated to those capital assets. On February 4, 2015, the Company entered into a tax receivable agreement with certain of the then-existing members of SSE Holdings (the "Tax Receivable Agreement") that provides for the payment by the Company of 85% of the amount of any tax benefits that are actually realized, or in some cases are deemed to realize, as a result of (i) increases in the Company's share of the tax basis in the net assets of SSE Holdings resulting from any redemptions or exchanges of LLC Interests, (ii) tax basis increases attributable to payments made under the Tax Receivable Agreement, and (iii) deductions attributable to imputed interest pursuant to the Tax Receivable Agreement (the "TRA Payments"). The Company expects to benefit from the remaining 15% of any tax benefits that may actually realize. The TRA Payments are not conditioned upon any continued ownership interest in SSE Holdings or the Company. The rights of each member of SSE Holdings that is a party to the Tax Receivable Agreement, are assignable to transferees of their respective LLC Interests. During fiscal 2023, the Company acquired an aggregate of 35,000 LLC Interests in connection with the redemption of LLC Interests, which resulted in an increase in the tax basis of its investment in SSE Holdings subject to the provisions of the Tax Receivable Agreement. The Company recognized an additional liability in the amount of $720 for the TRA Payments due to the redeeming members, representing 85% of the aggregate tax benefits the Company expects to realize from the tax basis increases related to the redemption of LLC Interests, after concluding it was probable that such TRA Payments would be paid based on estimates of future taxable income. No payments were made to the members of SSE Holdings pursuant to the Tax Receivable Agreement in fiscal 2023 and fiscal 2022. As of December 27, 2023, the total amount of TRA Payments due under the Tax Receivable Agreement was $235,613, of which no amount was included in Other current liabilities on the Consolidated Balance Sheets. Refer to Note 18, Commitments and Contingencies, for additional information relating to the liabilities under the Tax Receivable Agreement. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EARNINGS (LOSS) PER SHARE  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Earnings Per Share [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EARNINGS (LOSS) PER SHARE | EARNINGS (LOSS) PER SHARE Basic earnings (loss) per share of Class A common stock is computed by dividing Net income (loss) attributable to Shake Shack Inc. by the weighted average number of shares of Class A common stock outstanding during the period. Diluted earnings (loss) per share of Class A common stock is computed by dividing Net income (loss) attributable to Shake Shack Inc. by the weighted average number of shares of Class A common stock outstanding adjusted to give effect to potentially dilutive securities. The following table sets forth reconciliations of the numerators and denominators used to compute basic and diluted earnings (loss) per share of Class A common stock (in thousands, except per share amounts): 
 Shares of Class B common stock do not share in the earnings or losses of Shake Shack and are therefore not participating securities. As such, separate presentation of basic and diluted earnings (loss) per share of Class B common stock under the two-class method has not been presented. However, shares of Class B common stock outstanding for the period are considered  potentially dilutive shares of Class A common stock under application of the if-converted method and are included in the computation of diluted earnings (loss) per share, except when the effect would be anti-dilutive. The following table presents potentially dilutive securities excluded from the computations of diluted earnings (loss) per share of Class A common stock: 
 (1)Number of securities outstanding at the end of the period that were excluded from the computation of diluted earnings (loss) per share of Class A common stock because the performance conditions associated with these awards were not met assuming the end of the reporting period was the end of the performance period. (2)Number of securities outstanding at the end of the period that were excluded from the computation of diluted earnings (loss) per share of Class A common stock because the effect would have been anti-dilutive. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SUPPLEMENTAL CASH FLOW INFORMATION  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cash and Cash Equivalents [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SUPPLEMENTAL CASH FLOW INFORMATION | SUPPLEMENTAL CASH FLOW INFORMATION The following table sets forth supplemental cash flow information: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
COMMITMENTS AND CONTINGENCIES  | 
12 Months Ended | 
|---|---|
Dec. 27, 2023  | |
| Commitments and Contingencies Disclosure [Abstract] | |
| COMMITMENTS AND CONTINGENCIES | COMMITMENTS AND CONTINGENCIES Lease Commitments The Company is obligated under various operating leases for Shacks and the home office space, expiring in various years through 2045. Under certain of these leases, the Company is liable for contingent rent based on a percentage of sales in excess of specified thresholds and typically responsible for its proportionate share of real estate taxes, common area maintenance costs and other occupancy costs. Refer to Note 10, Leases, for additional information. Certain leases require the Company to obtain letters of credit. As of December 27, 2023, the Company held two letters of credit, one for  $130, which expires in February 2026 and the second for $402, which expires in August 2024 and renews automatically for one-year periods through January 31, 2034.  Purchase Commitments Purchase obligations include legally binding contracts, including commitments for the purchase, construction or remodeling of real estate and facilities, firm minimum commitments for inventory purchases, equipment purchases, marketing-related contracts, software acquisition/license commitments and service contracts. These obligations are generally short-term in nature and are recorded as liabilities when the related goods are received or services rendered. The Company also enters into long-term, exclusive contracts with certain vendors to supply food, beverages and paper goods, obligating the Company to purchase specified quantities. Legal Contingencies In May 2022, a claim was filed against Shake Shack alleging certain violations of the Fair Labor Standards Act relating to the classification of exempt managers. The matter was settled with a maximum payment of $900. An accrual of $900 was recorded for this matter during the thirteen weeks ended March 29, 2023. Subsequently, the accrual was reduced by $385 during the thirteen weeks ended December 27, 2023. The Company is subject to various legal proceedings, claims and liabilities, involving employees and guests alike, which arise in the ordinary course of business and are generally covered by insurance. As of December 27, 2023, the amount of the ultimate liability with respect to these matters was not material. Liabilities under Tax Receivable Agreement As described in Note 15, Income Taxes, the Company is a party to the Tax Receivable Agreement under which it is contractually committed to pay certain of the members of SSE Holdings 85% of the amount of any tax benefits that are actually realized, or in some cases are deemed to realize, as a result of certain transactions. The Company is not obligated to make any payments under the Tax Receivable Agreement until the tax benefits associated with the transactions that gave rise to the payments are realized. Amounts payable under the Tax Receivable Agreement are contingent upon, among other things, (i) generation of future taxable income over the term of the Tax Receivable Agreement and (ii) future changes in tax laws. If the Company does not generate sufficient taxable income in the aggregate over the term of the Tax Receivable Agreement to utilize the tax benefits, then it would not be required to make the related TRA Payments. As of December 27, 2023 and December 28, 2022, the Company recognized liabilities totaling $235,613 and $234,893, respectively, relating to the obligations under the Tax Receivable Agreement, after concluding that it was probable that it would have sufficient future taxable income over the term of the Tax Receivable Agreement to utilize the related tax benefits. There were no transactions subject to the Tax Receivable Agreement for which the Company did not recognize the related liability, as the Company concluded that it would have sufficient future taxable income to utilize all of the related tax benefits generated by all transactions that occurred in fiscal 2023. 
 | 
RELATED PARTY TRANSACTIONS  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related Party Transactions [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RELATED PARTY TRANSACTIONS | RELATED PARTY TRANSACTIONS Union Square Hospitality Group The Chairman of the Board of Directors serves as the Executive Chairman of Union Square Hospitality Group, LLC. As a result, Union Square Hospitality Group, LLC and its subsidiary, set forth below, are considered related parties.  Hudson Yards Sports and Entertainment In fiscal 2011, Shake Shack entered into a Master License Agreement (as amended, "MLA") with Hudson Yards Sports and Entertainment LLC ("HYSE") to operate Shake Shack branded limited menu concession stands in sports and entertainment venues within the United States. In February 2019, the agreement was assigned to Hudson Yards Catering ("HYC"), the parent of HYSE. The agreement expires in January 2027 and includes five consecutive five-year renewal options at HYC's option. As consideration for these rights, HYC pays the Company a license fee based on a percentage of net food sales, as defined in the MLA. HYC also pays a percentage of profits on sales of branded beverages, as defined in the MLA.  
 
 Madison Square Park Conservancy  The Chairman of the Board of Directors serves as a director of the Madison Square Park Conservancy ("MSP Conservancy"), with which Shake Shack has a license agreement and pays license fees to operate the Madison Square Park Shack. No amounts were due to MSP Conservancy as of December 27, 2023 and December 28, 2022. 
 Olo, Inc. The Chairman of the Board of Directors serves as a director of Olo, Inc. (formerly known as "Mobo Systems, Inc."), a platform the Company uses in connection with its mobile ordering application.  
 
 Block, Inc. The Company's Chief Executive Officer is a member of the board of directors of Block, Inc. (formerly known as "Square, Inc."). The Company currently uses certain point-of-sale applications, payment processing services, hardware and other enterprise platform services in connection with its kiosk technology, sales for certain off-site events and the processing of a limited amount of sales at certain locations. 
 
 Tax Receivable Agreement The Company entered into a Tax Receivable Agreement that provides for the payment by the Company of 85% of the amount of any tax benefits that are actually realized, or in some cases are deemed to realize, as a result of certain transactions. Refer to Note 15, Income Taxes, for additional information. No payments were made to the members of SSE Holdings pursuant to the Tax Receivable Agreement during fiscal 2023, fiscal 2022 and fiscal 2021. 
 Distributions to Members of SSE Holdings Under the terms of the SSE Holdings LLC Agreement, SSE Holdings is obligated to make tax distributions to its members. No tax distributions were payable to non-controlling interest holders as of December 27, 2023 and December 28, 2022. 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GEOGRAPHIC INFORMATION  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment Reporting [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GEOGRAPHIC INFORMATION | GEOGRAPHIC INFORMATION Revenue by geographic area was as follows: 
 Revenues are shown based on the geographic location of the Company's customers and licensees. The Company's long-lived assets are primarily located in the United States. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SCHEDULE I: CONDENSED FINANCIAL INFORMATION OF REGISTRANT  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Condensed Financial Information Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SCHEDULE I: CONDENSED FINANCIAL INFORMATION OF REGISTRANT | SHAKE SHACK INC. CONDENSED BALANCE SHEETS (PARENT COMPANY ONLY) (in thousands, except share and per share amounts) 
 See accompanying Notes to Condensed Financial Statements. SHAKE SHACK INC. CONDENSED STATEMENTS OF INCOME (LOSS) (PARENT COMPANY ONLY) (in thousands) 
 See accompanying Notes to Condensed Financial Statements. SHAKE SHACK INC. CONDENSED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (PARENT COMPANY ONLY) (in thousands) 
 (1)Net of tax benefit of $0 for fiscal years ended December 27, 2023, December 28, 2022 and December 29, 2021. See accompanying Notes to Condensed Financial Statements. SHAKE SHACK INC. CONDENSED STATEMENTS OF CASH FLOWS (PARENT COMPANY ONLY) (in thousands) 
 See accompanying Notes to Condensed Financial Statements. NOTE 1: ORGANIZATION Shake Shack Inc. (the "Parent Company") was formed on September 23, 2014 as a Delaware corporation and is a holding company with no direct operations. The Parent Company's assets consist primarily of its equity interest in SSE Holdings, LLC ("SSE Holdings"), certain deferred tax assets and its note receivable from SSE Holdings.  The Parent Company's cash inflows are primarily from cash dividends or distributions and other transfers from SSE Holdings. The amounts available to the Parent Company to fulfill cash commitments and pay cash dividends on its common stock are subject to certain restrictions in SSE Holdings' Revolving Credit Facility. Refer to Note 9, Debt, in the accompanying Consolidated Financial Statements, for additional information. NOTE 2: BASIS OF PRESENTATION These Condensed Parent Company financial statements should be read in conjunction with the Consolidated Financial Statements of Shake Shack Inc. and the accompanying notes thereto, included in Part II, Item 8. For purposes of these condensed financial statements, the Parent Company's interest in SSE Holdings is recorded based upon its proportionate share of SSE Holdings' net assets (similar to presenting them on the equity method). The Parent Company is the sole managing member of SSE Holdings, and pursuant to the Third Amended and Restated LLC Agreement of SSE Holdings (the “SSE Holdings LLC Agreement”), receives compensation in the form of reimbursements for all costs associated with being a public company and maintaining its existence. Intercompany revenue consists of these reimbursement payments and is recognized when the corresponding expense to which it relates is recognized. Certain intercompany balances presented in these Condensed Parent Company financial statements are eliminated in the Company's Consolidated Financial Statements.  The following table presents amounts in the Parent Company's Condensed Balance Sheets that were eliminated in consolidation: 
 Related party amounts that were not eliminated in the Company's Consolidated Financial Statements include the Parent Company's liabilities under the tax receivable agreement, which totaled $235,613 and $234,893, respectively as of December 27, 2023 and December 28, 2022. The following table presents amounts in the Parent Company's Condensed Statements of Income (Loss) that were eliminated in consolidation: 
 NOTE 3: RESTATEMENT OF PREVIOUSLY ISSUED CONDENSED FINANCIAL STATEMENTS In connection with the preparation of the Company's Consolidated Financial Statements as of and for the fiscal year ended December 27, 2023, the Company discovered that in prior years it had not appropriately accounted for the deferred tax asset associated with its investment in SSE Holdings, primarily due to incorrect accounting for state tax depreciation. The error resulted in an overstatement of income tax expense of approximately $2,862 for the fiscal year ended December 28, 2022 and an understatement of income tax benefit of $4,094 for the fiscal year ended December 29, 2021 and deferred tax assets were understated for the impacted periods. The error also resulted in an understatement of retained earnings and deferred tax assets as of December 26, 2020 of approximately $10,094 related to prior periods. The error did not impact total revenue or loss before income taxes for the fiscal years ended December 28, 2022 and December 29, 2021. Refer to Note 3, Restatement of Previously Issued Consolidated Financial Statements, to the Company's Consolidated Financial Statements included in Part II, Item 8, for additional information. The impact of the correction of the misstatements is summarized below: 
 
 
 (1)The prior impact of adjustments have been updated to conform with the current year presentation. These updates are not a part of the restatements above. All referenced amounts for prior periods in this Schedule I and the notes herein reflect the balances and amounts on a restated basis. NOTE 4: NOTE RECEIVABLE FROM SSE HOLDINGS In March 2021, contemporaneously with the issuance of the Convertible Notes described in Note 4, Debt, below, the Parent Company entered into a $250,000 intercompany note with SSE Holdings (the "Intercompany Note"). The Intercompany Note will mature in March 2028 unless the Parent Company exercises its right to convert the Intercompany Note to maintain at all times a one-to-one ratio between the number of common units, directly or indirectly, held by the Parent Company and the aggregate number of outstanding shares of Class A common stock. As of December 27, 2023 and December 28, 2022, the balance of the Note receivable from SSE Holdings was $216,946 and $209,013, respectively, net of accretion.  The Parent Company's right to convert the Intercompany Note into common units of SSE Holdings (the "Conversion Option") is required to be bifurcated from the Intercompany Note and shown separately on the Parent Company's Condensed Balance Sheets. The Conversion Option is to be recorded at fair value and remeasured at each subsequent reporting date. As of December 27, 2023 and December 28, 2022, the fair value of the Conversion Option was $12,900 and $6,300, respectively. The following table presents amounts in the Parent Company's Condensed Statements of Income (Loss) related to the change in value and accretion on the Conversion Option: 
 NOTE 5: DEBT In March 2021, the Parent Company issued $250,000 aggregate principal amount of 0% Convertible Senior Notes (“Convertible Notes”) which will mature on March 1, 2028, unless earlier converted, redeemed or repurchased in certain circumstances. Upon conversion, the Parent Company pays or delivers, as the case may be, cash, shares of Class A common stock or a combination of cash and shares of Class A common stock, at the Company's election.  Refer to Note 9, Debt, in the Company's Consolidated Financial Statements, included in Part II, Item 8, for additional information relating to the Convertible Notes. NOTE 6: COMMITMENTS AND CONTINGENCIES On February 4, 2015, the Parent Company entered into a tax receivable agreement with the non-controlling interest holders that provides for payments to the non-controlling interest holders of 85% of the amount of any tax benefits that the Parent Company actually realizes, or in some cases is deemed to realize, as a result of certain transactions. Refer to Note 15, Income Taxes, to  the Company's Consolidated Financial Statements included in Part II, Item 8, for additional information relating to the Parent Company's Tax Receivable Agreement. As described in Note 18, Commitments and Contingencies, to the Company's Consolidated Financial Statements, amounts payable under the Tax Receivable Agreement are contingent upon, among other things, (i) generation of future taxable income of Shake Shack Inc. over the term of the Tax Receivable Agreement and (ii) future  changes in tax laws. As of December 27, 2023 and December 28, 2022, liabilities under the tax receivable agreement totaled $235,613 and $234,893, respectively.  NOTE 7: SUPPLEMENTAL CASH FLOW INFORMATION The following table sets forth supplemental cash flow information: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SCHEDULE II: VALUATION AND QUALIFYING ACCOUNTS  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SCHEDULE II: VALUATION AND QUALIFYING ACCOUNTS | Schedule II: Valuation and Qualifying Accounts 
 (1)Amount relates to a valuation allowance established on deferred tax assets related to our investment in SSE Holdings. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pay vs Performance Disclosure - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Pay vs Performance Disclosure | |||
| Net income (loss) attributable to Shake Shack Inc. | $ 20,264 | $ (21,229) | $ (4,561) | 
Insider Trading Arrangements  | 
3 Months Ended | 12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
 Dec. 27, 2023  
shares 
 | 
 Dec. 27, 2023  
shares 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Arrangements, by Individual | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Terms of Trading Arrangement | Pursuant to Item 408(a) of Regulation S-K, our directors and officers (as defined in Rule 16a-1(f) under the Exchange Act) adopted, terminated, or modified a “Rule 10b5-1 trading arrangement” in the fiscal year ended December 27, 2023 as follows: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Non-Rule 10b5-1 Arrangement Adopted | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rule 10b5-1 Arrangement Terminated | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Non-Rule 10b5-1 Arrangement Terminated | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Jeff Flug [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Arrangements, by Individual | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Jeff Flug | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Title | Director | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rule 10b5-1 Arrangement Adopted | true | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adoption Date | 5/18/2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arrangement Duration | 456 days | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Aggregate Available | 5,960 | 5,960 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Daniel Meyer [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Arrangements, by Individual | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Daniel Meyer | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Title | Chairman of the Board of Directors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rule 10b5-1 Arrangement Adopted | true | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adoption Date | 8/8/2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arrangement Duration | 266 days | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Aggregate Available | 100,000 | 100,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | |||||||||||||||||||||||||||||||||||||
| Basis of Presentation | Basis of Presentation The accompanying Consolidated Financial Statements have been prepared in accordance with accounting principles generally accepted in the United States of America ("GAAP") and include the accounts of Shake Shack Inc. and its subsidiaries. All intercompany accounts and transactions have been eliminated in consolidation. Certain reclassifications have been made to prior period amounts to conform to the current year presentation.  The Company has elected to reclassify certain marketing expenses for prior periods to conform with the presentation for the fiscal year ended December 27, 2023. These reclassifications had no effect on previously reported Net Income (Loss). For the fiscal year ended December 28, 2022 and December 29, 2021, the Company reclassified $1,219 and $1,200, respectively from Other operating expenses to General and administrative expenses in the accompanying Consolidated Statements of Income (Loss). SSE Holdings is considered a variable interest entity. Shake Shack Inc. is the primary beneficiary as the Company has the majority economic interest in SSE Holdings and, as the sole managing member, has decision making authority that significantly affects the economic performance of the entity, while the limited partners have no substantive kick-out or participating rights. As a result, the Company consolidates SSE Holdings. The assets and liabilities of SSE Holdings represent substantially all of the Company's consolidated assets and liabilities with the exception of certain deferred taxes and liabilities under the Tax Receivable Agreement. As of December 27, 2023 and December 28, 2022, the net assets of SSE Holdings were $388,250 and $362,571, respectively. The assets of SSE Holdings are subject to certain restrictions in SSE Holdings' revolving credit agreement. Refer to Note 9, Debt, and Note 15, Income Taxes, for additional information. 
 | 
||||||||||||||||||||||||||||||||||||
| Fiscal Year | Fiscal Year The Company operates on a 52/53 week fiscal year ending on the last Wednesday of December. Fiscal 2023 contained 52 weeks and ended on December 27, 2023 ("fiscal 2023"). Fiscal 2022 contained 52 weeks and ended on December 28, 2022 ("fiscal 2022"). Fiscal 2021 contained 52 weeks and ended on December 29, 2021 ("fiscal 2021"). Unless otherwise stated, references to years in this report relate to fiscal years. 
 | 
||||||||||||||||||||||||||||||||||||
| Use of Estimates | Use of Estimates The preparation of these Consolidated Financial Statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the  date of the financial statements, and the reported amounts of sales and expenses during the reporting period. Actual results could differ from those estimates. 
 | 
||||||||||||||||||||||||||||||||||||
| Segment Reporting | Segment Reporting The chief operating decision maker (the "CODM") is the Chief Executive Officer. The Company determined it has one operating segment and one reportable segment, as the CODM regularly reviews Shack operations and financial performance at a consolidated level to allocate resources. 
 | 
||||||||||||||||||||||||||||||||||||
| Fair Value Measurements | Fair Value Measurements The Company applies fair value accounting for all financial assets and liabilities and non-financial assets and liabilities that are recognized or disclosed at fair value in the financial statements on a recurring basis. Assets and liabilities are categorized based on the priority of the inputs to the valuation technique into a three-level fair value hierarchy as set forth below.  ▪Level 1 — Quoted prices in active markets for identical assets or liabilities. ▪Level 2 — Observable inputs other than quoted prices in active markets for identical assets or liabilities, quoted prices for identical assets or liabilities in inactive markets, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the asset or liability. ▪Level 3 — Inputs that are both unobservable and significant to the overall fair value measurements reflecting an entity's estimates of assumptions that market participants would use in pricing the asset or liability. 
 | 
||||||||||||||||||||||||||||||||||||
| Cash and Cash Equivalents | Cash and Cash Equivalents Cash and cash equivalents consist primarily of cash on hand, deposits with banks, money market funds and short-term, highly liquid investments that have original maturities of three months or less. Cash equivalents are stated at cost, which approximates fair value. 
 | 
||||||||||||||||||||||||||||||||||||
| Marketable Securities | Marketable Securities Marketable securities classified as available-for-sale securities consist of mutual funds that primarily invest in corporate bonds, certificates of deposits, asset-backed securities, commercial paper, U.S. Treasury obligations, and foreign government securities. Available-for-sale securities are recorded at fair value, with unrealized gains and losses recorded in Other income, net. Dividend and interest income are recognized when earned and are recorded in Other income, net on the Consolidated Statements of Income (Loss). Held-to-maturity securities consist of U.S. Treasuries for which the Company has the ability and intent to hold to maturity and are reported at amortized cost, net of a valuation allowance for credit losses. Interest income and the amortization of discounts and premiums are recorded in Other income, net on the Consolidated Statements of Income (Loss). No expected credit losses were recognized as of December 27, 2023. 
 | 
||||||||||||||||||||||||||||||||||||
| Accounts Receivable, Net | Accounts Receivable, Net Accounts receivable, net consist primarily of receivables from our licensees for licensing revenue and related reimbursements, credit card receivables and vendor rebates. The collectability of accounts receivable is evaluated based on a variety of factors, including historical experience, current economic conditions and other factors.
 | 
||||||||||||||||||||||||||||||||||||
| Inventories | Inventories Inventories, which consist of food, paper goods, beverages, beer, wine and retail merchandise, are valued at the lower of weighted average cost or net realizable value. No adjustment is deemed necessary to reduce inventory to net realizable value due to the rapid turnover and high utilization of inventory. 
 | 
||||||||||||||||||||||||||||||||||||
| Property and Equipment, Net And Valuation of Long-lived Assets | Property and Equipment, Net Property and equipment, net is stated at historical cost less accumulated depreciation. Property and equipment are depreciated using the straight-line method over the estimated useful lives of the assets, which generally range from  to seven years for equipment, furniture and fixtures, and  to five years for computer equipment and software. Leasehold improvements are depreciated over the shorter of their estimated useful lives or the related lease terms.  Costs incurred when constructing Shacks are capitalized. The cost of repairs and maintenance are expensed when incurred. Costs for refurbishments and improvements that significantly increase the productive capacity or extend the useful life of the assets are capitalized. When assets are disposed, the resulting gain or loss is recognized in Impairment and loss on disposal of assets on the Consolidated Statements of Income (Loss).  Valuation of Long-lived Assets The Company assesses potential impairments to its long-lived assets, which include property and equipment and operating and finance lease right-of-use assets, whenever events or circumstances indicate that the carrying value of an asset may not be recoverable. The recoverability evaluation is first performed at the market service area level ("MSA"). If the carrying value of the MSA exceeds its estimated undiscounted future cash flows, a secondary recoverability test is performed for all individual Shacks within the identified MSA. An impairment charge is recognized when the carrying amount of the asset exceeds the fair value of the asset, considering external market participant assumptions, and is allocated across all assets of the impaired Shack. Since the determination of future cash flows is an estimate of future performance, there may be future impairments in the event that future cash flows do not meet expectations.
 | 
||||||||||||||||||||||||||||||||||||
| Deferred Financing Costs | Deferred Financing Costs Deferred financing costs incurred in connection with the issuance of long-term debt and establishing credit facilities are capitalized and amortized in Interest expense based on the related debt agreements. Deferred financing costs are included in Other assets on the Consolidated Balance Sheets. 
 | 
||||||||||||||||||||||||||||||||||||
| Other Assets | Other Assets Other assets consist primarily of capitalized implementation costs from cloud computing arrangements, certain custom pre-ordered furniture, fixtures and equipment for future and existing Shacks, transferable liquor licenses, and security deposits.  Implementation costs associated with cloud computing arrangements hosted by third-party vendors are capitalized when incurred during the application development phase. Amortization is calculated on a straight-line basis over the contractual term of the cloud computing arrangement and is recorded within General and administrative expenses on the Consolidated Statements of Income (Loss). As of December 27, 2023 and December 28, 2022, capitalized implementation costs from cloud computing arrangements totaled $5,572 and $6,212, respectively, net of accumulated amortization. The costs of obtaining non-transferable liquor licenses that are directly issued by local government agencies for nominal fees are expensed as incurred. The costs of purchasing transferable liquor licenses through open markets in jurisdictions with a limited number of authorized liquor licenses are capitalized as indefinite-lived intangible assets. Annual liquor license renewal fees, for both types of licenses, are expensed over the renewal term. As of December 27, 2023 and December 28, 2022, indefinite-lived intangible assets relating to transferable liquor licenses totaled $1,903 and $1,837, respectively. Indefinite-lived intangible assets are evaluated for impairment at least annually during the fourth quarter, and whenever events or circumstances indicate that an impairment may exist. When evaluating intangible assets for impairment, the Company first performs a qualitative assessment to determine whether it is more likely than not that an intangible asset group is impaired. If determined that it is more likely than not that the carrying value of the intangible asset group exceeds its fair value, the Company performs a quantitative assessment to derive the fair value of the intangible asset group. If the carrying value of the intangible asset group exceeds the estimated fair value, an impairment charge is recorded to reduce the carrying value to the estimated fair value. In addition, the Company continuously monitors and may revise the useful lives of intangible assets when facts and circumstances change. 
 | 
||||||||||||||||||||||||||||||||||||
| Revenue Recognition | Revenue Recognition  Revenue primarily consists of Shack sales and Licensing revenue. Generally, revenue is recognized as promised goods or services transfer to the guest or customer in an amount that reflects the consideration the Company expects to be entitled to in exchange for those goods or services.  Shack Sales Revenue from Shack sales is recognized when payment is tendered at the point of sale, net of discounts, as the performance obligation has been satisfied at that time. Sales tax collected from guests is excluded from Shack sales and the obligation is included as sales tax payable until the taxes are remitted to the appropriate taxing authorities.  Delivery services are fulfilled by third-party delivery partners whether ordered through the Shack app, website ("Company-owned platforms") or through third-party delivery platforms. Revenue from orders through Company-owned platforms includes delivery fees and is recognized when the delivery partner transfers the order to the guest as the Company controls the delivery. For these sales, the Company receives payment directly from the guest at the time of sale. Revenue from orders through third-party delivery partners is recognized when the order is transferred to the third-party delivery partner and excludes delivery fees collected by the delivery platforms as the Company does not control the delivery. The Company receives payment from the delivery partner subsequent to the transfer of the order and the payment terms are short-term in nature. For all delivery sales, the Company is considered the principal and recognizes revenue on a gross basis. The Company sells gift cards which do not have expiration dates. Revenue from gift cards is recognized when gift cards are redeemed by the customer or, in the event a gift card is not expected to be redeemed, in proportion to actual redemptions of gift cards ("gift card breakage"). The gift card breakage rate is determined from historical gift card redemption patterns. Gift card breakage income for fiscal 2023 and 2022 was $327 and $1,472, respectively. During fiscal 2022, the Company concluded it had accumulated a sufficient level of historical data from a large pool of homogeneous transactions to allow it to reasonably and objectively determine an estimated gift card breakage rate and the pattern of actual gift card redemptions. In accordance with ASC 250, Accounting Changes and Error Corrections, the Company concluded that this accounting change represented a change in accounting estimate. As a result, a cumulative catch-up adjustment was recorded during fiscal 2022 that resulted in $1,281 of gift card breakage income. Gift card breakage income is included in Shack sales in the Consolidated Statements of Income (Loss). Licensing Revenue Licensing revenue includes initial territory fees, Shack opening fees and ongoing sales-based royalty fees from licensed Shacks. Generally, the licenses granted to develop, open and operate each Shack in a specified territory are the predominant good or service transferred to the licensee and represent distinct performance obligations. Ancillary promised services, such as training and assistance during the initial opening of a Shack, are typically combined with the license and considered one performance obligation per Shack.  The Company determines the transaction price for each contract, which is comprised of the initial territory fee and an estimate of the total Shack opening fees the Company expects to be entitled to. The calculation of total Shack opening fees requires judgment, as it is based on an estimated number of Shacks the Company expects the licensee to open. The transaction price is then allocated equally to each Shack expected to open. The performance obligation is satisfied over time, starting when a Shack opens through the end of the license term for the related Shack therefore revenue is recognized on a straight-line basis over the license term.  Generally, payment for the initial territory fee is received upon execution of the license agreement and payment for the Shack opening fees is received either in advance of or upon opening the related Shack. These payments are initially deferred and recognized in revenue as the performance obligations are satisfied. Revenue from sales-based royalties is recognized as the related sales occur. 
 | 
||||||||||||||||||||||||||||||||||||
| Equity-based Compensation | Equity-based Compensation Equity-based compensation expense is measured based on the grant-date fair value of the awards. For awards with graded-vesting features and service conditions only, compensation expense is recognized on a straight-line basis over the total requisite  service period for the entire award. For awards with graded-vesting features and a combination of service and performance conditions, compensation expense is recognized using a graded-vesting attribution method over the vesting period based on the most probable outcome of the performance conditions. For awards with cliff vesting features and a combination of service and performance conditions, compensation expense is recognized on a straight-line basis over the total requisite service period for the entire award. Actual distributed shares are calculated upon conclusion of the service and performance periods. Forfeitures are recognized as they occur for all equity awards. Equity-based compensation expense is included in General and administrative expenses and Labor and related expenses on the Consolidated Statements of Income (Loss). 
 | 
||||||||||||||||||||||||||||||||||||
| Leases | Leases Shake Shack currently leases all of its domestic Company-operated Shacks, the home office and certain equipment under various non-cancelable lease agreements that expire on various dates through 2045. The Company evaluates contracts entered into to determine whether the contract involves the use of property or equipment, which is either explicitly or implicitly identified in the contract. The Company evaluates whether it controls the use of the asset, which is determined by assessing whether substantially all economic benefit from the use of the asset is obtained, and whether the Company has the right to direct the use of the asset. If these criteria are met, the Company has identified a lease, within the contract, and therefore a right of use asset and lease liability are recorded on the Consolidated Balance Sheets. Upon possession of a leased asset, the Company determines whether the lease is an operating or finance lease. All of the Company's real estate leases are classified as operating leases and most equipment leases are classified as finance leases. Generally, real estate leases have initial terms ranging from 10 to 15 years and typically include two five-year renewal options. Renewal options are generally not recognized as part of the right-of-use assets and lease liabilities as it is not reasonably certain at commencement date that the Company would exercise the renewal options. Real estate leases typically contain fixed minimum rent payments and/or contingent rent payments which are based upon sales in excess of specified thresholds. When the achievement of such sales thresholds are deemed to be probable, contingent rent is accrued in proportion to the sales recognized during the period.  For operating leases, fixed lease payments are recognized as operating lease costs on a straight-line basis over the lease term within the Consolidated Statements of Income (Loss) in the following line items. Lease expense incurred before a Shack opens is recorded in Pre-opening costs. Once a domestic Company-operated Shack opens, the straight-line lease expense and contingent rent, if applicable, are recorded in Occupancy and related expenses. Many of these leases also require the Company to pay real estate taxes, common area maintenance costs and other occupancy costs which are included in Occupancy and related expenses. Finance leases are recognized in depreciation expense on a straight-line basis over the remaining lease term, along with recognition of interest expense associated with accretion of the lease liability.  For both operating and finance leases that contain lease and non-lease components, the components are combined and accounted for as a single lease component. Variable lease costs for both operating and finance leases, if any, are recognized as incurred. Leases with a term of 12 months or less are deemed short-term and are not recognized on the Consolidated Balance Sheets. Fixed lease payments for short-term leases are recognized on a straight-line basis over the lease term. The Company calculates operating lease assets and lease liabilities as the present value of fixed lease payments over the reasonably certain lease term beginning at the commencement date. The Company uses its incremental borrowing rate (“IBR”) in determining the present value of future lease payments as there are no explicit rates provided in the leases. The IBR used to measure the lease liability is derived from the average of the yield curves obtained from using the notching method and the recovery rate method. The most significant assumption in calculating the IBR is the Company's credit rating and is subject to judgment. The credit rating used to develop the IBR is determined by utilizing the credit ratings of other public companies with similar financial information as SSE Holdings. The Company expends cash for leasehold improvements to build out and equip leased properties. Generally, a portion of the leasehold improvements and building costs are reimbursed by the landlords through landlord incentives pursuant to agreed-upon terms in the lease agreements. Landlord incentives usually take the form of cash, full or partial credits against future minimum or contingent rents otherwise payable by the Company, or a combination thereof. In most cases, landlord incentives are received after the Company takes possession of the property and as milestones are met during the construction of the property. The Company includes these amounts in the measurement of the initial operating lease liability, and lease asset. 
 | 
||||||||||||||||||||||||||||||||||||
| Pre-opening Costs | Pre-opening Costs Pre-opening costs are expensed as incurred and consist primarily of occupancy, manager and team member wages, cookware, travel and lodging costs for the opening training team and other supporting team members, marketing expenses, legal fees, and inventory costs incurred prior to the opening of a Shack. 
 | 
||||||||||||||||||||||||||||||||||||
| Income Taxes | Income Taxes Income taxes are accounted for pursuant to the asset and liability method which requires the recognition of deferred income tax assets and liabilities related to the expected future tax consequences arising from temporary differences between the carrying values and tax bases of assets and liabilities based on enacted statutory tax rates applicable to the periods in which the temporary differences are expected to reverse. Any effects of changes in income tax rates or laws are included in Income tax expense on the Consolidated Statements of Income (Loss) in the period of enactment. A valuation allowance is recognized if we determine it is more likely than not that all or a portion of a deferred tax asset will not be recognized. In making such determination, the Company considers all available evidence, including scheduled reversals of deferred tax liabilities, projected future taxable income, tax planning strategies and recent and expected future results of operations. 
 | 
||||||||||||||||||||||||||||||||||||
| Recently Issued Accounting Pronouncements | Recently Issued Accounting Pronouncements      Accounting standards updates ("ASU") applicable to the Company that were issued in 2023 are summarized below. 
 All other ASUs issued but not yet effective are not applicable or not expected to have a material impact on the Company’s future Consolidated Financial Statements. 
 | 
||||||||||||||||||||||||||||||||||||
RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Changes and Error Corrections [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Error Corrections and Prior Period Adjustments | The impact of the correction of the misstatements is summarized below: 
 
 
 
 
 
 
 
 
 
 
 For the thirteen weeks ended June 29, 2022 and September 28, 2022, the effect of the restatement is included in the beginning balances as of March 30, 2022 and June 29, 2022, respectively. As such, only the restated Condensed Consolidated Statements of Stockholders' Equity are shown below. 
 
 
 For the thirteen weeks ended June 28, 2023 and September 27, 2023, the effect of the restatement is included in the beginning balances as of March 29, 2023 and June 28, 2023, respectively. As such, only the restated Condensed Consolidated Statements of Stockholders' Equity are shown below. 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REVENUE (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue from Contract with Customer [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Disaggregation of Revenue | Revenue disaggregated by type was as follows: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Contract with Customer, Asset and Liability | Contract liabilities and receivables from contracts with customers were as follows: 
 Revenue recognized that was included in the respective liability balances at the beginning of the period was as follows: 
 (1)For fiscal 2022, amount includes the cumulative catch-up adjustment of $1,281 for gift card breakage income. Refer to Note 2, Summary of Significant Accounting Policies, for additional information. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FAIR VALUE MEASUREMENTS (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Disclosures [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Investment Holdings, Schedule of Investments | The Company's marketable securities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Debt Securities, Held-to-Maturity | The Company's held-to-maturity securities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Other Income From Available for Sale Securities | A summary of other income from investments was as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACCOUNTS RECEIVABLE (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Receivables [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Accounts Receivable | The components of Accounts receivable, net were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PROPERTY AND EQUIPMENT, NET (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property, Plant and Equipment [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Property and Equipment | The components of Property and equipment, net were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SUPPLEMENTAL BALANCE SHEET INFORMATION (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Prepaid Expenses and Other Current Assets | The components of Prepaid expenses and other current assets were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Other Current Liabilities | The components of Other current liabilities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Other Long-Term Liabilities | The components of Other long-term liabilities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DEBT (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Debt Disclosure [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Long-term Debt Instruments | 
 
 
 (1) Interest expense for fiscal 2021 primarily included the write-off of previously capitalized costs on the Revolving Credit Facility. 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LEASES (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Leases [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Lease, Cost | A summary of operating and finance right-of-use assets and lease liabilities were as follows: 
 The components of lease expense were as follows: 
 A summary of lease terms and discount rates for operating and finance leases were as follows: 
 Supplemental cash flow information related to leases was as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Lessee, Operating Lease, Liability, Maturity | As of December 27, 2023, future minimum lease payments for operating and finance leases consisted of the following: 
 (1)Operating leases are net of certain tenant allowance receivables that were reclassified to Other current assets as of December 27, 2023. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Finance Lease, Liability, Maturity | As of December 27, 2023, future minimum lease payments for operating and finance leases consisted of the following: 
 (1)Operating leases are net of certain tenant allowance receivables that were reclassified to Other current assets as of December 27, 2023. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
STOCKHOLDER'S EQUITY (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Equity [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Redemption of LLC Interests | A summary of activity related to redemptions of LLC Interests were as follows: 
 The following table summarizes the LLC Interests activity: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NON-CONTROLLING INTERESTS (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Noncontrolling Interest [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Ownership Interests in SSE Holdings | The following table summarizes the ownership interest in SSE Holdings: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Noncontrolling Interest, Ownership Percentages | 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Non-Controlling Interest | The following table summarizes the effects of changes in ownership of SSE Holdings on the Company's equity: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Redemption of LLC Interests | A summary of activity related to redemptions of LLC Interests were as follows: 
 The following table summarizes the LLC Interests activity: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EQUITY-BASED COMPENSATION (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Share-Based Payment Arrangement [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Equity-Based Compensation Expense Recognized | A summary of equity-based compensation expense by award type was as follows: 
 Equity-based compensation expense recognized was as follows: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Restricted Stock Unit Activity | A summary of restricted stock unit activity was as follows: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Share-Based Payment Arrangement, Activity | A summary of performance stock unit activity was as follows: 
 (1)Represents the incremental awards earned and/or awards forfeited based on the achievement of performance conditions. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Fair Value of Stock Options | The fair value of stock option awards was determined on the grant date using the Black-Scholes valuation model based on the following weighted average assumptions: 
 (1)Expected term represents the estimated period of time until an award is exercised and was determined using the simplified method. (2)Expected volatility is based on the historical volatility of a selected peer group over a period equivalent to the expected term. (3)The risk-free rate is an interpolation of yields on U.S. Treasury securities with maturities equivalent to the expected term. (4)A dividend yield of zero was used as the Company have no plans to declare dividends in the foreseeable future. 
 | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Stock Options, Activity | A summary of stock option activity was as follows:  
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Information About Stock Options | The following table summarizes information about stock options outstanding and exercisable as December 27, 2023:  
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
INCOME TAXES (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Tax Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Income before Income Tax, Domestic and Foreign | The components of Income (loss) before income taxes were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Components of Income Tax Expense | The components of Income tax benefit were as follows:  
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reconciliation of Income Tax Expense, US Income Tax Rate | Reconciliations of Income tax benefit computed at the U.S. federal statutory income tax rate to the recognized Income tax benefit and the U.S. statutory income tax rate to our effective tax rates were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Deferred Tax Assets and Liabilities | The components of deferred tax assets and liabilities were as follows: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Unrecognized Tax Benefits Roll Forward | Reconciliations of uncertain tax positions were as follows:
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EARNINGS (LOSS) PER SHARE (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Earnings Per Share [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Earnings Per Share | The following table sets forth reconciliations of the numerators and denominators used to compute basic and diluted earnings (loss) per share of Class A common stock (in thousands, except per share amounts): 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Antidilutive Securities | The following table presents potentially dilutive securities excluded from the computations of diluted earnings (loss) per share of Class A common stock: 
 (1)Number of securities outstanding at the end of the period that were excluded from the computation of diluted earnings (loss) per share of Class A common stock because the performance conditions associated with these awards were not met assuming the end of the reporting period was the end of the performance period. (2)Number of securities outstanding at the end of the period that were excluded from the computation of diluted earnings (loss) per share of Class A common stock because the effect would have been anti-dilutive. 
 | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SUPPLEMENTAL CASH FLOW INFORMATION (Tables)  | 
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cash and Cash Equivalents [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Cash Flow Information | The following table sets forth supplemental cash flow information: 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RELATED PARTY TRANSACTIONS (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related Party Transactions [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Related Party Transactions | 
 
 
 
 
 
 
 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GEOGRAPHIC INFORMATION (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment Reporting [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue from Customers by Geographic Areas | Revenue by geographic area was as follows: 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NATURE OF OPERATIONS (Details) - Restaurant  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Class of Stock [Line Items] | ||
| Number of restaurants | 518 | |
| Shake Shack Inc. | ||
| Class of Stock [Line Items] | ||
| Ownership percent of noncontrolling interest | 93.30% | 93.20% | 
| United States | Company-operated | ||
| Class of Stock [Line Items] | ||
| Number of restaurants | 295 | |
| United States | Licensed | ||
| Class of Stock [Line Items] | ||
| Number of restaurants | 39 | |
| Other countries | Licensed | ||
| Class of Stock [Line Items] | ||
| Number of restaurants | 184 | 
RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS - Narrative (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
Dec. 26, 2020  | 
|
| Error Corrections and Prior Period Adjustments Restatement [Line Items] | ||||||||||
| Income tax expense (benefit) | $ 529 | $ 347 | $ 867 | $ (1,508) | $ 707 | $ (4,297) | $ (4,010) | $ (1,180) | $ (11,318) | |
| Impact of Adjustment | ||||||||||
| Error Corrections and Prior Period Adjustments Restatement [Line Items] | ||||||||||
| Income tax expense | 2,862 | |||||||||
| Income tax expense (benefit) | $ (2,862) | $ (4,094) | ||||||||
| Retained earnings and deferred tax assets | $ 10,094 | |||||||||
RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS - Balance Sheet (Details) - USD ($) $ / shares in Units, $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 29, 2021  | 
Dec. 30, 2020  | 
|---|---|---|---|---|---|---|---|---|---|---|
| Current assets: | ||||||||||
| Cash and cash equivalents | $ 224,653 | $ 190,020 | $ 203,697 | $ 293,430 | $ 230,521 | $ 256,998 | $ 278,332 | $ 279,251 | ||
| Marketable securities | 68,561 | 94,957 | 91,537 | 0 | 80,707 | 80,015 | 79,625 | 79,676 | ||
| Accounts receivable, net | 16,847 | 13,889 | 14,332 | 14,175 | 13,877 | 11,800 | 11,936 | 11,755 | ||
| Inventories | 5,404 | 4,608 | 4,674 | 4,394 | 4,184 | 3,996 | 3,955 | 3,780 | ||
| Prepaid expenses and other current assets | 18,967 | 19,762 | 15,278 | 18,075 | 14,699 | 14,246 | 13,727 | 12,155 | ||
| Total current assets | 334,432 | 323,236 | 329,518 | 330,074 | 343,988 | 367,055 | 387,575 | 386,617 | ||
| Property and equipment, net of accumulated depreciation | 530,995 | 525,557 | 500,085 | 479,617 | 467,031 | 441,870 | 411,018 | 398,971 | ||
| Operating lease assets | 398,296 | 397,870 | 385,386 | 379,475 | 367,488 | 370,536 | 361,522 | 346,128 | ||
| Deferred income taxes, net | 326,208 | 319,244 | 319,113 | 318,626 | 317,626 | 321,181 | 319,435 | 318,371 | $ 312,873 | |
| Other assets | 15,926 | 16,037 | 15,802 | 16,211 | 15,817 | 15,330 | 14,735 | 13,846 | ||
| TOTAL ASSETS | 1,605,857 | 1,581,944 | 1,549,904 | 1,524,003 | 1,511,950 | 1,515,972 | 1,494,285 | 1,463,933 | 1,471,775 | |
| Current liabilities: | ||||||||||
| Accounts payable | 22,273 | 21,251 | 17,005 | 16,002 | 20,407 | 17,210 | 16,420 | 13,395 | ||
| Accrued expenses | 54,742 | 47,630 | 50,588 | 45,677 | 47,945 | 49,387 | 40,013 | 38,997 | ||
| Accrued wages and related liabilities | 20,945 | 18,164 | 18,221 | 18,678 | 17,576 | 17,758 | 18,440 | 16,032 | ||
| Operating lease liabilities, current | 49,004 | 47,610 | 46,490 | 44,578 | 42,238 | 40,690 | 38,775 | 36,951 | ||
| Other current liabilities | 17,103 | 17,522 | 17,881 | 18,117 | 19,552 | 19,497 | 20,261 | 20,586 | ||
| Total current liabilities | 164,067 | 152,177 | 150,185 | 143,052 | 147,718 | 144,542 | 133,909 | 125,961 | ||
| Long-term debt | 245,636 | 245,375 | 245,113 | 244,851 | 244,589 | 244,328 | 244,066 | 243,804 | ||
| Long-term operating lease liabilities | 464,533 | 463,370 | 448,580 | 441,554 | 427,227 | 429,165 | 418,010 | 399,487 | ||
| Liabilities under tax receivable agreement, net of current portion | 235,613 | 235,614 | 235,361 | 235,361 | 234,893 | 234,892 | 234,862 | 234,273 | ||
| Other long-term liabilities | 26,638 | 26,322 | 22,218 | 22,192 | 20,687 | 20,588 | 21,597 | 20,944 | ||
| Total liabilities | 1,136,487 | 1,122,858 | 1,101,457 | 1,087,010 | 1,075,114 | 1,073,515 | 1,052,444 | 1,024,469 | ||
| Commitments and contingencies (Note 13) | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Additional paid-in capital | 426,601 | 423,849 | 421,394 | 417,489 | 415,649 | 413,291 | 410,537 | 406,998 | 405,957 | |
| Retained earnings (accumulated deficit) | 16,777 | 9,554 | 1,927 | (5,021) | (3,487) | 4,368 | 6,392 | 7,580 | 17,742 | |
| Accumulated other comprehensive loss | (3) | (3) | (4) | (4) | 0 | (1) | (1) | 0 | ||
| Total stockholders' equity attributable to Shake Shack Inc. | 443,417 | 433,442 | 423,359 | 412,506 | 412,204 | 417,700 | 416,970 | 414,620 | ||
| Non-controlling interests | 25,953 | 25,644 | 25,088 | 24,487 | 24,632 | 24,757 | 24,871 | 24,844 | ||
| Total stockholders' equity | 469,370 | 459,086 | 448,447 | 436,993 | 436,836 | 442,457 | 441,841 | 439,464 | 449,805 | $ 444,587 | 
| Total liabilities and stockholders' equity | 1,605,857 | 1,581,944 | 1,549,904 | 1,524,003 | 1,511,950 | 1,515,972 | 1,494,285 | 1,463,933 | 1,471,775 | |
| Property and equipment, net of accumulated depreciation | $ 376,760 | $ 353,303 | $ 331,571 | $ 310,939 | $ 290,362 | $ 271,938 | $ 254,291 | $ 236,933 | ||
| Preferred stock, par value (in dollars per share) | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | ||
| Preferred stock, shares authorized (in shares) | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | ||
| Preferred stock, shares issued (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Preferred stock, shares outstanding (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | ||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Common stock, shares authorized (in shares) | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | ||
| Common stock, shares, issued (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | ||
| Common stock, shares, outstanding (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | ||
| Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | ||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Common stock, shares authorized (in shares) | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | ||
| Common stock, shares, issued (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | ||
| Common stock, shares, outstanding (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | ||
| As previously reported | ||||||||||
| Current assets: | ||||||||||
| Cash and cash equivalents | $ 190,020 | $ 203,697 | $ 293,430 | $ 256,998 | $ 278,332 | $ 279,251 | ||||
| Marketable securities | 94,957 | 91,537 | 0 | 80,015 | 79,625 | 79,676 | ||||
| Accounts receivable, net | 13,889 | 14,332 | 14,175 | 11,800 | 11,936 | 11,755 | ||||
| Inventories | 4,608 | 4,674 | 4,394 | 3,996 | 3,955 | 3,780 | ||||
| Prepaid expenses and other current assets | 19,762 | 15,278 | 18,075 | 14,246 | 13,727 | 12,155 | ||||
| Total current assets | 323,236 | 329,518 | 330,074 | 367,055 | 387,575 | 386,617 | ||||
| Property and equipment, net of accumulated depreciation | 525,557 | 500,085 | 479,617 | 441,870 | 411,018 | 398,971 | ||||
| Operating lease assets | 397,870 | 385,386 | 379,475 | 370,536 | 361,522 | 346,128 | ||||
| Deferred income taxes, net | 302,156 | 302,025 | 301,538 | $ 300,538 | 306,976 | 305,230 | 304,166 | 298,668 | ||
| Other assets | 16,037 | 15,802 | 16,211 | 15,330 | 14,735 | 13,846 | ||||
| TOTAL ASSETS | 1,564,856 | 1,532,816 | 1,506,915 | 1,494,862 | 1,501,767 | 1,480,080 | 1,449,728 | 1,457,570 | ||
| Current liabilities: | ||||||||||
| Accounts payable | 21,251 | 17,005 | 16,002 | 17,210 | 16,420 | 13,395 | ||||
| Accrued expenses | 47,630 | 50,588 | 45,677 | 49,387 | 40,013 | 38,997 | ||||
| Accrued wages and related liabilities | 18,164 | 18,221 | 18,678 | 17,758 | 18,440 | 16,032 | ||||
| Operating lease liabilities, current | 47,610 | 46,490 | 44,578 | 40,690 | 38,775 | 36,951 | ||||
| Other current liabilities | 17,522 | 17,881 | 18,117 | 19,497 | 20,261 | 20,586 | ||||
| Total current liabilities | 152,177 | 150,185 | 143,052 | 144,542 | 133,909 | 125,961 | ||||
| Long-term debt | 245,375 | 245,113 | 244,851 | 244,328 | 244,066 | 243,804 | ||||
| Long-term operating lease liabilities | 463,370 | 448,580 | 441,554 | 429,165 | 418,010 | 399,487 | ||||
| Liabilities under tax receivable agreement, net of current portion | 235,614 | 235,361 | 235,361 | 234,892 | 234,862 | 234,273 | ||||
| Other long-term liabilities | 26,322 | 22,218 | 22,192 | 20,588 | 21,597 | 20,944 | ||||
| Total liabilities | 1,122,858 | 1,101,457 | 1,087,010 | 1,073,515 | 1,052,444 | 1,024,469 | ||||
| Commitments and contingencies (Note 13) | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Additional paid-in capital | 423,811 | 421,356 | 417,451 | 415,611 | 413,274 | 410,520 | 406,981 | 405,940 | ||
| Retained earnings (accumulated deficit) | (7,496) | (15,123) | (22,071) | (20,537) | (9,820) | (7,796) | (6,608) | 3,554 | ||
| Accumulated other comprehensive loss | (3) | (4) | (4) | (1) | (1) | 0 | ||||
| Total stockholders' equity attributable to Shake Shack Inc. | 416,354 | 406,271 | 395,418 | 403,495 | 402,765 | 400,415 | ||||
| Non-controlling interests | 25,644 | 25,088 | 24,487 | 24,757 | 24,871 | 24,844 | ||||
| Total stockholders' equity | 441,998 | 431,359 | 419,905 | 419,748 | 428,252 | 427,636 | 425,259 | 435,600 | 434,493 | |
| Total liabilities and stockholders' equity | 1,564,856 | 1,532,816 | 1,506,915 | 1,494,862 | 1,501,767 | 1,480,080 | 1,449,728 | 1,457,570 | ||
| As previously reported | Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | 39 | 39 | 39 | 39 | 39 | 39 | ||||
| As previously reported | Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | 3 | 3 | 3 | 3 | 3 | 3 | ||||
| Impact of Adjustment | ||||||||||
| Current assets: | ||||||||||
| Cash and cash equivalents | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Marketable securities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Accounts receivable, net | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Inventories | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Prepaid expenses and other current assets | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Total current assets | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Property and equipment, net of accumulated depreciation | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Operating lease assets | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Deferred income taxes, net | 17,088 | 17,088 | 17,088 | 17,088 | 14,205 | 14,205 | 14,205 | 14,205 | ||
| Other assets | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| TOTAL ASSETS | 17,088 | 17,088 | 17,088 | 17,088 | 14,205 | 14,205 | 14,205 | 14,205 | ||
| Current liabilities: | ||||||||||
| Accounts payable | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Accrued expenses | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Accrued wages and related liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Operating lease liabilities, current | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Other current liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Total current liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Long-term debt | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Long-term operating lease liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Liabilities under tax receivable agreement, net of current portion | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Other long-term liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Total liabilities | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Commitments and contingencies (Note 13) | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Additional paid-in capital | 38 | 38 | 38 | 38 | 17 | 17 | 17 | 17 | ||
| Retained earnings (accumulated deficit) | 17,050 | 17,050 | 17,050 | 17,050 | 14,188 | 14,188 | 14,188 | 14,188 | ||
| Accumulated other comprehensive loss | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Total stockholders' equity attributable to Shake Shack Inc. | 17,088 | 17,088 | 17,088 | 14,205 | 14,205 | 14,205 | ||||
| Non-controlling interests | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Total stockholders' equity | 17,088 | 17,088 | 17,088 | 17,088 | 14,205 | 14,205 | 14,205 | 14,205 | $ 10,094 | |
| Total liabilities and stockholders' equity | 17,088 | 17,088 | 17,088 | $ 17,088 | 14,205 | 14,205 | 14,205 | $ 14,205 | ||
| Impact of Adjustment | Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| Impact of Adjustment | Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | 
RESTATEMENT OF PREVIOUSLY ISSUED CONSOLIDATED FINANCIAL STATEMENTS - Statements Of Loss (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||
| TOTAL REVENUE | $ 276,207 | $ 271,805 | $ 253,278 | $ 227,814 | $ 230,752 | $ 203,391 | $ 1,087,533 | $ 900,486 | $ 739,893 | 
| Shack-level operating expenses: | |||||||||
| Food and paper costs | 77,180 | 75,800 | 71,772 | 67,774 | 65,987 | 59,884 | 305,041 | 261,584 | 218,262 | 
| Labor and related expenses | 76,233 | 75,158 | 74,264 | 64,638 | 65,851 | 60,465 | 304,254 | 257,358 | 215,114 | 
| Other operating expenses | 37,307 | 36,109 | 34,936 | 33,680 | 32,151 | 30,171 | 149,449 | 129,650 | 102,032 | 
| Occupancy and related expenses | 20,300 | 19,801 | 18,583 | 17,337 | 16,657 | 16,276 | 79,846 | 68,508 | 59,228 | 
| General and administrative expenses | 30,939 | 31,476 | 31,311 | 26,931 | 29,487 | 31,386 | 129,542 | 120,009 | 87,196 | 
| Depreciation and amortization expense | 23,130 | 22,252 | 21,322 | 18,647 | 18,087 | 16,855 | 91,242 | 72,796 | 58,991 | 
| Pre-opening costs | 4,969 | 5,577 | 3,557 | 3,041 | 2,823 | 2,712 | 19,231 | 15,050 | 13,291 | 
| Impairment and loss on disposal of assets | 492 | 884 | 722 | 592 | 528 | 577 | 3,007 | 2,425 | 1,632 | 
| TOTAL EXPENSES | 270,550 | 267,057 | 256,467 | 232,640 | 231,571 | 218,326 | 1,081,612 | 927,380 | 755,746 | 
| Operating Income (Loss) | 5,657 | 4,748 | (3,189) | (4,826) | (819) | (14,935) | 5,921 | (26,894) | (15,853) | 
| Other income, net | 3,441 | 3,227 | 2,837 | 1,482 | 538 | (289) | 12,776 | 4,127 | 95 | 
| Interest expense | (433) | (405) | (403) | (475) | (315) | (355) | (1,717) | (1,518) | (1,577) | 
| INCOME (LOSS) BEFORE INCOME TAXES | 8,665 | 7,570 | (755) | (3,819) | (596) | (15,579) | 16,980 | (24,285) | (17,335) | 
| Income tax expense (benefit) | 529 | 347 | 867 | (1,508) | 707 | (4,297) | (4,010) | (1,180) | (11,318) | 
| Net income (loss) (including amounts attributable to non-controlling interests) | 8,136 | 7,223 | (1,622) | (2,311) | (1,303) | (11,282) | 20,990 | (23,105) | (6,017) | 
| Less: Net income (loss) attributable to non-controlling interests | 509 | 275 | (88) | (287) | (115) | (1,120) | 726 | (1,876) | (1,456) | 
| Net income (loss) attributable to Shake Shack Inc.—basic | $ 7,627 | $ 6,948 | $ (1,534) | $ (2,024) | $ (1,188) | $ (10,162) | $ 20,264 | $ (21,229) | $ (4,561) | 
| Loss per share of Class A common stock: | |||||||||
| Basic (in dollars per share) | $ 0.19 | $ 0.18 | $ (0.04) | $ (0.05) | $ (0.03) | $ (0.26) | $ 0.51 | $ (0.54) | $ (0.12) | 
| Diluted (in dollars per share) | $ 0.19 | $ 0.16 | $ (0.04) | $ (0.05) | $ (0.03) | $ (0.26) | $ 0.48 | $ (0.54) | $ (0.12) | 
| Weighted average shares of Class A common stock outstanding: | |||||||||
| Basic (in shares) | 39,460 | 39,416 | 39,332 | 39,274 | 39,227 | 39,163 | 39,419 | 39,237 | 39,085 | 
| Diluted (in shares) | 43,978 | 43,886 | 39,332 | 39,274 | 39,227 | 39,163 | 43,899 | 39,237 | 39,085 | 
| Shack sales | |||||||||
| Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||
| TOTAL REVENUE | $ 264,980 | $ 261,810 | $ 244,254 | $ 219,501 | $ 223,054 | $ 196,791 | $ 1,046,819 | $ 869,270 | $ 714,989 | 
| Licensing revenue | |||||||||
| Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||
| TOTAL REVENUE | $ 11,227 | $ 9,995 | $ 9,024 | $ 8,313 | $ 7,698 | $ 6,600 | $ 40,714 | 31,216 | 24,904 | 
| As previously reported | |||||||||
| Shack-level operating expenses: | |||||||||
| Income tax expense (benefit) | 1,682 | (7,224) | |||||||
| Net income (loss) (including amounts attributable to non-controlling interests) | (25,967) | (10,111) | |||||||
| Net income (loss) attributable to Shake Shack Inc.—basic | $ (24,091) | $ (8,655) | |||||||
| Loss per share of Class A common stock: | |||||||||
| Basic (in dollars per share) | $ (0.61) | $ (0.22) | |||||||
| Diluted (in dollars per share) | $ (0.61) | $ (0.22) | |||||||
| Impact of Adjustment | |||||||||
| Shack-level operating expenses: | |||||||||
| Income tax expense (benefit) | $ (2,862) | $ (4,094) | |||||||
| Net income (loss) (including amounts attributable to non-controlling interests) | 2,862 | 4,094 | |||||||
| Net income (loss) attributable to Shake Shack Inc.—basic | $ 2,862 | $ 4,094 | |||||||
| Loss per share of Class A common stock: | |||||||||
| Basic (in dollars per share) | $ 0.07 | $ 0.10 | |||||||
| Diluted (in dollars per share) | $ 0.07 | $ 0.10 | |||||||
REVENUE - Narrative (Details) $ in Thousands  | 
 Dec. 27, 2023  
USD ($) 
 | 
|---|---|
| Disaggregation of Revenue [Line Items] | |
| Revenue, remaining performance obligation | $ 23,690 | 
| Maximum | |
| Disaggregation of Revenue [Line Items] | |
| License term | 20 years | 
| Minimum | |
| Disaggregation of Revenue [Line Items] | |
| License term | 5 years | 
REVENUE - Schedule of Disaggregation of Revenue (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Disaggregation of Revenue [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 276,207 | $ 271,805 | $ 253,278 | $ 227,814 | $ 230,752 | $ 203,391 | $ 1,087,533 | $ 900,486 | $ 739,893 | 
| Shack sales | |||||||||
| Disaggregation of Revenue [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 264,980 | $ 261,810 | $ 244,254 | $ 219,501 | $ 223,054 | $ 196,791 | 1,046,819 | 869,270 | 714,989 | 
| Sales-based royalties | |||||||||
| Disaggregation of Revenue [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | 39,853 | 30,204 | 24,150 | ||||||
| Initial territory and opening fees | |||||||||
| Disaggregation of Revenue [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 861 | $ 1,012 | $ 754 | ||||||
REVENUE - Schedule of Respective Liability Balances (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Disaggregation of Revenue [Line Items] | ||
| Gift card liability | $ 2,603 | $ 2,285 | 
| Deferred revenue, current | 1,192 | 969 | 
| Contract with Customer, Liability, Noncurrent | 17,157 | 14,340 | 
| Shack sales | ||
| Disaggregation of Revenue [Line Items] | ||
| Contract with customer, asset, net | 9,884 | 8,779 | 
| Licensing receivables, net of allowance for doubtful accounts | ||
| Disaggregation of Revenue [Line Items] | ||
| Contract with customer, asset, net | $ 4,610 | $ 3,918 | 
REVENUE - Liability Balance (Details) - USD ($) $ in Thousands  | 
12 Months Ended | |
|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|
| Revenue from Contract with Customer [Abstract] | ||
| Gift card liability | $ 634 | $ 1,781 | 
| Deferred revenue | $ 1,103 | 954 | 
| Cumulative catch-up adjustment | $ 1,281 | |
FAIR VALUE MEASUREMENTS - Investments (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Equity securities | $ 0 | $ 80,707 | 
| Total marketable securities | 68,561 | 80,707 | 
| U.S. Treasuries | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Held-to-maturity securities | $ 68,561 | $ 0 | 
FAIR VALUE MEASUREMENTS - Held-To-Maturity Securities (Details) - U.S. Treasuries - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Schedule of Held-to-Maturity Securities [Line Items] | ||
| Amortized Cost | $ 68,561 | $ 0 | 
| Gross Unrealized Gains | 481 | |
| Gross Unrealized Losses | 0 | |
| Estimated Fair Value | $ 69,042 | 
FAIR VALUE MEASUREMENTS - Other Income (Expense) (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Fair Value Disclosures [Abstract] | |||
| Income from investments | $ 2,885 | $ 1,033 | $ 301 | 
| Realized gain (loss) on sale of equity securities | 81 | 0 | (5) | 
| Unrealized gain (loss) on equity securities | 0 | (158) | (277) | 
| Total | $ 2,966 | $ 875 | $ 19 | 
FAIR VALUE MEASUREMENTS - Additional Information (Details) - USD ($)  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Fair Value Disclosures [Abstract] | |||
| Asset impairment charges | $ 0 | $ 99,000 | $ 0 | 
ACCOUNTS RECEIVABLE - Schedule of Accounts Receivable (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Receivables [Abstract] | ||||||||
| Licensing receivables | $ 4,610 | $ 3,918 | ||||||
| Credit card receivables | 6,360 | 5,549 | ||||||
| Delivery receivables | 3,039 | 2,753 | ||||||
| Other receivables | 2,838 | 1,657 | ||||||
| Accounts receivable, net | $ 16,847 | $ 13,889 | $ 14,332 | $ 14,175 | $ 13,877 | $ 11,800 | $ 11,936 | $ 11,755 | 
SUPPLEMENTAL BALANCE SHEET INFORMATION - Prepaid Expenses and Other Current Assets (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||||||
| Prepaid expenses | $ 5,641 | $ 3,815 | ||||||
| Tenant allowance receivables | 12,136 | 10,121 | ||||||
| Other | 1,190 | 763 | ||||||
| Prepaid expenses and other current assets | $ 18,967 | $ 19,762 | $ 15,278 | $ 18,075 | $ 14,699 | $ 14,246 | $ 13,727 | $ 12,155 | 
SUPPLEMENTAL BALANCE SHEET INFORMATION - Other Current Liabilities (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Other Liabilities, Current | ||||||||
| Sales tax payable | $ 6,076 | $ 5,363 | ||||||
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Other current liabilities | Other current liabilities | ||||||
| Current portion of financing equipment lease liabilities | $ 3,435 | $ 2,546 | ||||||
| Gift card liability | 2,603 | 2,285 | ||||||
| Legal reserve | 679 | 6,285 | ||||||
| Other | 4,310 | 3,073 | ||||||
| Other current liabilities | $ 17,103 | $ 17,522 | $ 17,881 | $ 18,117 | $ 19,552 | $ 19,497 | $ 20,261 | $ 20,586 | 
SUPPLEMENTAL BALANCE SHEET INFORMATION - Other Long-Term Liabilities (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||||||
| Deferred licensing revenue | $ 17,157 | $ 14,340 | ||||||
| Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other long-term liabilities | Other long-term liabilities | ||||||
| Long-term portion of financing equipment lease liabilities | $ 8,721 | $ 3,909 | ||||||
| Other | 760 | 2,438 | ||||||
| Other long-term liabilities | $ 26,638 | $ 26,322 | $ 22,218 | $ 22,192 | $ 20,687 | $ 20,588 | $ 21,597 | $ 20,944 | 
DEBT - Convertible Notes Classification (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|
| Debt Instrument [Line Items] | |||||||||
| Amortization expense on Convertible Notes | $ 1,047 | $ 1,047 | $ 867 | ||||||
| Long-term debt | 245,636 | 244,589 | $ 245,375 | $ 245,113 | $ 244,851 | $ 244,328 | $ 244,066 | $ 243,804 | |
| 0% Convertible Senior Notes Due 2028 | Senior Notes | Private Placement | |||||||||
| Debt Instrument [Line Items] | |||||||||
| Amortization expense on Convertible Notes | 1,047 | 1,047 | |||||||
| Convertible Notes | 250,000 | 250,000 | |||||||
| Discount and debt issuance costs, net of amortization | (4,364) | (5,411) | |||||||
| Long-term debt | $ 245,636 | $ 244,589 | |||||||
DEBT - Revolving Credit Facility Classification (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Debt Instrument [Line Items] | |||||||||
| Interest expense | $ 433 | $ 405 | $ 403 | $ 475 | $ 315 | $ 355 | $ 1,717 | $ 1,518 | $ 1,577 | 
| Revolving Credit Facility | Line of Credit | |||||||||
| Debt Instrument [Line Items] | |||||||||
| Interest expense | 74 | 82 | $ 479 | ||||||
| Unamortized debt issuance cost | $ 42 | $ 62 | |||||||
LEASES - Narrative (Details) $ in Thousands  | 
 Dec. 27, 2023  
USD ($) 
 | 
|---|---|
| Leases [Abstract] | |
| Operating lease for non-cancellable leases | $ 154,198 | 
LEASES - Balance Sheet Clasification (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
|---|---|---|---|---|---|---|---|---|
| Leases [Abstract] | ||||||||
| Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | Operating lease assets | Operating lease assets | ||||||
| Operating lease assets | $ 398,296 | $ 397,870 | $ 385,386 | $ 379,475 | $ 367,488 | $ 370,536 | $ 361,522 | $ 346,128 | 
| Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | Property and equipment, net of accumulated depreciation of $376,760 and $290,362, respectively | Property and equipment, net of accumulated depreciation of $376,760 and $290,362, respectively | ||||||
| Finance lease right-of-use asset | $ 11,801 | $ 6,152 | ||||||
| Total right-of-use assets | 410,097 | 373,640 | ||||||
| Operating leases: | ||||||||
| Operating lease liabilities, current | 49,004 | 47,610 | 46,490 | 44,578 | 42,238 | 40,690 | 38,775 | 36,951 | 
| Long-term operating lease liabilities | 464,533 | $ 463,370 | $ 448,580 | $ 441,554 | 427,227 | $ 429,165 | $ 418,010 | $ 399,487 | 
| Finance leases: | ||||||||
| Other current liabilities | 3,435 | 2,546 | ||||||
| Other long-term liabilities | 8,721 | 3,909 | ||||||
| Total lease liabilities | $ 525,693 | $ 475,920 | 
LEASES - Lease Cost (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Total lease cost | |||
| Operating lease cost | $ 67,781 | $ 58,788 | $ 50,888 | 
| Amortization of right-of-use assets | 3,324 | 3,071 | 2,719 | 
| Interest on lease liabilities | 476 | 226 | 207 | 
| Variable lease cost | 18,305 | 15,973 | 13,855 | 
| Short-term lease cost | 938 | 580 | 290 | 
| Total lease cost | $ 90,824 | $ 78,638 | $ 67,959 | 
LEASES - Future Minimum Lease Payments (Details) $ in Thousands  | 
 Dec. 27, 2023  
USD ($) 
 | 
|---|---|
| Operating Leases | |
| 2024 | $ 65,677 | 
| 2025 | 82,915 | 
| 2026 | 79,377 | 
| 2027 | 74,717 | 
| 2028 | 70,343 | 
| Thereafter | 293,237 | 
| Total minimum payments | 666,266 | 
| Less: imputed interest | 164,865 | 
| Total lease liabilities | 501,401 | 
| Finance Leases | |
| 2024 | 4,068 | 
| 2025 | 3,440 | 
| 2026 | 2,658 | 
| 2027 | 2,213 | 
| 2028 | 1,192 | 
| Thereafter | 142 | 
| Total minimum payments | 13,713 | 
| Less: imputed interest | 1,557 | 
| Total lease liabilities | $ 12,156 | 
LEASES - Lease Terms and Discount Rates (Details)  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Weighted average remaining lease term (years): | ||
| Operating leases | 8 years 10 months 24 days | 8 years 10 months 24 days | 
| Finance leases | 4 years 8 months 12 days | 5 years 1 month 6 days | 
| Weighted average discount rate: | ||
| Operating leases | 6.20% | 5.70% | 
| Finance leases | 5.60% | 4.00% | 
LEASES - Supplemental Cash Flow Information (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash flows from operating leases | $ 72,128 | $ 61,114 | $ 49,079 | 
| Operating cash flows from finance leases | 476 | 226 | 207 | 
| Financing cash flows from finance leases | 3,272 | 2,974 | 2,694 | 
| Right-of-use assets obtained in exchange for lease obligations: | |||
| Operating leases | 72,403 | 56,578 | 66,959 | 
| Finance leases | $ 8,972 | $ 2,415 | $ 4,119 | 
EMPLOYEE BENEFIT PLANS (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Defined Benefit Plan Disclosure [Line Items] | |||
| Employer contributions | $ 1,888 | $ 1,553 | $ 1,337 | 
| Defined Contribution Plan, Initial Contribution | |||
| Defined Benefit Plan Disclosure [Line Items] | |||
| Employer matching contribution percentage | 100.00% | ||
| Employer matching contribution as a percent of employees' gross pay | 3.00% | ||
| Defined Contribution Plan, Additional Contribution | |||
| Defined Benefit Plan Disclosure [Line Items] | |||
| Employer matching contribution percentage | 50.00% | ||
| Employer matching contribution as a percent of employees' gross pay | 3.00% | ||
| Defined Contribution Plan, Additional Contribution | Maximum | |||
| Defined Benefit Plan Disclosure [Line Items] | |||
| Employer matching contribution as a percent of employees' gross pay | 5.00% | ||
STOCKHOLDER'S EQUITY - Redemption of LLC Interests (Details) - shares  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Limited Liability Company | |||||||||
| Class of Stock [Line Items] | |||||||||
| Number of units redeemed (in shares) | 35,000 | 52,074 | 29,601 | ||||||
| Limited Liability Company | Redemptions by NCI Holders | |||||||||
| Class of Stock [Line Items] | |||||||||
| Number of units redeemed (in shares) | 35,000 | 52,074 | 29,601 | ||||||
| Common Stock | Class A Common Stock | |||||||||
| Class of Stock [Line Items] | |||||||||
| Redemption of LLC interests (in shares) | 10,000 | 0 | 25,000 | 2,000 | 40,074 | 10,000 | 35,000 | 52,074 | 29,601 | 
| Common Stock | Class B Common Stock | |||||||||
| Class of Stock [Line Items] | |||||||||
| Redemption of LLC interests (in shares) | (10,000) | 0 | (25,000) | (2,000) | (40,074) | (10,000) | (35,000) | (52,074) | (29,601) | 
| Effect of redemption (in shares) | 35,000 | 52,074 | 29,601 | ||||||
STOCKHOLDER'S EQUITY -Stock Compensation Plan Activity (Details) - shares  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Stock options | |||
| Class of Stock [Line Items] | |||
| LLC interests acquired (in shares) | 154,317 | 90,527 | 395,006 | 
NON-CONTROLLING INTERESTS - Narrative (Details)  | 
Feb. 04, 2015  | 
|---|---|
| Class A Common Stock | |
| Noncontrolling Interest [Line Items] | |
| Ratio of common stock to limited liability company interest | 1 | 
NON-CONTROLLING INTERESTS - Ownership Interest in SSE Holdings (Details) - shares  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Noncontrolling Interest [Line Items] | ||
| Number of LLC Interests held by Shake Shack Inc. (in shares) | 39,474,315 | 39,284,998 | 
| Number of LLC Interests held by non-controlling interest holders (in shares) | 2,834,513 | 2,869,513 | 
| Total LLC Interests outstanding (in shares) | 42,308,828 | 42,154,511 | 
| Total LLC Interests outstanding (as a percentage) | 100.00% | 100.00% | 
| Shake Shack Inc. | ||
| Noncontrolling Interest [Line Items] | ||
| Number of LLC Interests held by Shake Shack Inc. (as a percentage) | 93.30% | 93.20% | 
| Non-Controlling Interest Holders | ||
| Noncontrolling Interest [Line Items] | ||
| Number of LLC Interests held by non-controlling interest holders (as a percentage) | 6.70% | 6.80% | 
NON-CONTROLLING INTERESTS - Weighted Average Ownership Percentages (Details)  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Noncontrolling Interest [Abstract] | |||
| Non-controlling interest holders' weighted average ownership percentages | 6.70% | 6.90% | 7.00% | 
EQUITY-BASED COMPENSATION - Schedule of Fair Value of Stock Options (Details) - 2015 Incentive Award Plan - Stock options  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Expected term (years) | 0 years | 0 years | 7 years 6 months | 
| Expected volatility | 0.00% | 0.00% | 45.40% | 
| Risk-free interest rate | 0.00% | 0.00% | 1.40% | 
| Dividend yield | 0.00% | 0.00% | 0.00% | 
INCOME TAXES - Schedule of Components of Income before Income Taxes (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Income Tax Disclosure [Abstract] | |||||||||
| Domestic | $ (13,427) | $ (49,454) | $ (38,833) | ||||||
| Foreign | 30,407 | 25,169 | 21,498 | ||||||
| INCOME (LOSS) BEFORE INCOME TAXES | $ 8,665 | $ 7,570 | $ (755) | $ (3,819) | $ (596) | $ (15,579) | $ 16,980 | $ (24,285) | $ (17,335) | 
INCOME TAXES - Schedule of Components of Income Tax Expense (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Current income taxes: | |||||||||
| Federal | $ 0 | $ 0 | $ 0 | ||||||
| State and local | 1,271 | 222 | 275 | ||||||
| Foreign | 3,793 | 3,612 | 2,880 | ||||||
| Total current income taxes | 5,064 | 3,834 | 3,155 | ||||||
| Deferred income taxes: | |||||||||
| Federal | (12,427) | (4,176) | (10,732) | ||||||
| State and local | 3,353 | (838) | (3,741) | ||||||
| Total deferred income taxes | (9,074) | (5,014) | (14,473) | ||||||
| Income tax benefit | $ 529 | $ 347 | $ 867 | $ (1,508) | $ 707 | $ (4,297) | $ (4,010) | $ (1,180) | $ (11,318) | 
INCOME TAXES- Schedule of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
|---|---|---|
| Deferred tax assets: | ||
| Investment in partnership | $ 90,419 | $ 109,870 | 
| Tax Receivable Agreement | 64,076 | 64,218 | 
| Operating lease liability | 4,713 | 4,376 | 
| Financing lease liability | 114 | 61 | 
| Deferred revenue | 196 | 167 | 
| Equity-based compensation | 360 | 380 | 
| Net operating loss carryforwards | 144,144 | 131,867 | 
| Tax credits | 26,048 | 19,257 | 
| Other assets | 947 | 638 | 
| Total gross deferred tax assets | 331,017 | 330,834 | 
| Valuation allowance | (357) | (9,560) | 
| Total deferred tax assets, net of valuation allowance | 330,660 | 321,274 | 
| Deferred tax liabilities: | ||
| Property and equipment | (599) | (95) | 
| Operating lease right-of-use asset | (3,735) | (3,488) | 
| Financing lease right-of-use asset | (111) | (58) | 
| Other liabilities | (7) | (7) | 
| Total gross deferred tax liabilities | (4,452) | (3,648) | 
| Net deferred tax assets | $ 326,208 | $ 317,626 | 
INCOME TAXES- Reconciliations Of Uncertain Tax Positions (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Beginning balance | $ 0 | $ 0 | $ 0 | 
| Additions based on tax positions related to the current year | 0 | 0 | 0 | 
| Additions for tax positions of prior years | 263 | 0 | 0 | 
| Reductions for tax positions of prior years | 0 | 0 | 0 | 
| Reductions for lapse of applicable statute of limitations | 0 | 0 | 0 | 
| Settlements | (116) | 0 | 0 | 
| Ending balance | $ 147 | $ 0 | $ 0 | 
EARNINGS (LOSS) PER SHARE - Antidilutive Securities (Details) - shares  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Stock options | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive shares (in shares) | 0 | 134,031 | 154,231 | 
| Performance stock units | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive shares (in shares) | 99,718 | 159,822 | 186,159 | 
| Restricted stock units | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive shares (in shares) | 0 | 395,853 | 231,429 | 
| Class B Common Stock | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive shares (in shares) | 0 | 2,869,513 | 2,921,587 | 
| Convertible notes | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive shares (in shares) | 0 | 1,466,975 | 1,466,975 | 
SUPPLEMENTAL CASH FLOW INFORMATION (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Cash paid for: | |||
| Income taxes, net of refunds | $ 4,056 | $ 3,731 | $ 2,808 | 
| Interest, net of amounts capitalized | 537 | 252 | 252 | 
| Non-cash investing activities: | |||
| Accrued purchases of property and equipment | 24,999 | 26,591 | 22,241 | 
| Capitalized equity-based compensation | 181 | 126 | 66 | 
| Non-cash financing activities: | |||
| Establishment of liabilities under tax receivable agreement | $ 720 | $ 844 | $ 1,093 | 
COMMITMENTS AND CONTINGENCIES (Details) - USD ($)  | 
3 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Dec. 27, 2023  | 
Dec. 27, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 25, 2019  | 
|
| Loss Contingencies [Line Items] | |||||
| Litigation settlement expense | $ 900,000 | ||||
| Loss contingency accrual | $ 900,000 | ||||
| Loss contingency accrual, period increase (decrease) | $ (385,000) | ||||
| Percentage of tax benefits due to equity owners | 85.00% | 85.00% | |||
| Establishment of liabilities under tax receivable agreement | $ 235,613,000 | $ 235,613,000 | $ 234,893,000 | ||
| Retail site | |||||
| Loss Contingencies [Line Items] | |||||
| Letters of credit outstanding | $ 130,000 | $ 130,000 | |||
| Office Building | |||||
| Loss Contingencies [Line Items] | |||||
| Letters of credit outstanding | $ 402,000 | 
RELATED PARTY TRANSACTIONS - Additional Information (Details) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
| 
 Dec. 27, 2023  
USD ($)  
renewal_option 
 | 
 Dec. 28, 2022  
USD ($) 
 | 
 Dec. 29, 2021  
USD ($) 
 | 
|
| Related Party Transaction [Line Items] | |||
| Percentage of tax benefits due to equity owners | 85.00% | ||
| Payments to related parties | $ | $ 0 | $ 0 | $ 0 | 
| Related Party | Hudson Yards Catering ("HYC") | |||
| Related Party Transaction [Line Items] | |||
| Master license agreement, number of renewal terms | renewal_option | 5 | ||
| Renewal option period | 5 years | ||
RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details) - USD ($)  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Related Party Transaction [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 276,207,000 | $ 271,805,000 | $ 253,278,000 | $ 227,814,000 | $ 230,752,000 | $ 203,391,000 | $ 1,087,533,000 | $ 900,486,000 | $ 739,893,000 | 
| Accounts receivable, net | 13,889,000 | 14,332,000 | 14,175,000 | 11,800,000 | 11,936,000 | 11,755,000 | 16,847,000 | 13,877,000 | |
| Occupancy and related expenses | 20,300,000 | 19,801,000 | 18,583,000 | 17,337,000 | 16,657,000 | 16,276,000 | 79,846,000 | 68,508,000 | 59,228,000 | 
| Other operating expenses | 37,307,000 | 36,109,000 | 34,936,000 | 33,680,000 | 32,151,000 | 30,171,000 | 149,449,000 | 129,650,000 | 102,032,000 | 
| Accounts payable | $ 21,251,000 | $ 17,005,000 | $ 16,002,000 | $ 17,210,000 | $ 16,420,000 | $ 13,395,000 | 22,273,000 | 20,407,000 | |
| Hudson Yards Catering ("HYC") | Related Party | |||||||||
| Related Party Transaction [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | 988,000 | 802,000 | 320,000 | ||||||
| Accounts receivable, net | 57,000 | 69,000 | |||||||
| Madison Square Park Conservancy ("MSP Conservancy") | Related Party | |||||||||
| Related Party Transaction [Line Items] | |||||||||
| Occupancy and related expenses | 898,000 | 1,224,000 | 863,000 | ||||||
| Accounts payable | 0 | 0 | |||||||
| Olo, Inc. | Related Party | |||||||||
| Related Party Transaction [Line Items] | |||||||||
| Other operating expenses | 595,000 | 431,000 | 406,000 | ||||||
| Accounts payable | 116,000 | 39,000 | |||||||
| Block, Inc. | Related Party | |||||||||
| Related Party Transaction [Line Items] | |||||||||
| Other operating expenses | 8,688,000 | 4,337,000 | $ 2,844,000 | ||||||
| Accounts payable | $ 59,000 | $ 55,000 | |||||||
RELATED PARTY TRANSACTIONS - Tax Receivable Agreement (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Related Party Transactions [Abstract] | |||
| Percentage of tax benefits due to equity owners | 85.00% | ||
| Payments to related parties | $ 0 | $ 0 | $ 0 | 
| Establishment of liabilities under tax receivable agreement | $ 235,613 | $ 234,893 | |
RELATED PARTY TRANSACTIONS - Distributions to Members of SSE Holdings (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Related Party Transactions [Abstract] | |||
| Distributions paid to non-controlling interest holders | $ 162 | $ 410 | $ 968 | 
GEOGRAPHIC INFORMATION (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Revenues from External Customers and Long-Lived Assets [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 276,207 | $ 271,805 | $ 253,278 | $ 227,814 | $ 230,752 | $ 203,391 | $ 1,087,533 | $ 900,486 | $ 739,893 | 
| United States | |||||||||
| Revenues from External Customers and Long-Lived Assets [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | 1,056,753 | 875,047 | 718,128 | ||||||
| Other countries | |||||||||
| Revenues from External Customers and Long-Lived Assets [Line Items] | |||||||||
| Revenue from Contract with Customer, Excluding Assessed Tax | $ 30,780 | $ 25,439 | $ 21,765 | ||||||
SCHEDULE I: CONDENSED FINANCIAL INFORMATION OF REGISTRANT - CONDENSED BALANCE SHEET (Details) - USD ($) $ / shares in Units, $ in Thousands  | 
Dec. 27, 2023  | 
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Dec. 28, 2022  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 29, 2021  | 
Dec. 30, 2020  | 
|---|---|---|---|---|---|---|---|---|---|---|
| Current assets: | ||||||||||
| Prepaid expenses | $ 5,641 | $ 3,815 | ||||||||
| Total current assets | 334,432 | $ 323,236 | $ 329,518 | $ 330,074 | 343,988 | $ 367,055 | $ 387,575 | $ 386,617 | ||
| Deferred income taxes, net | 326,208 | 319,244 | 319,113 | 318,626 | 317,626 | 321,181 | 319,435 | 318,371 | $ 312,873 | |
| TOTAL ASSETS | 1,605,857 | 1,581,944 | 1,549,904 | 1,524,003 | 1,511,950 | 1,515,972 | 1,494,285 | 1,463,933 | 1,471,775 | |
| Current liabilities: | ||||||||||
| Accounts payable | 22,273 | 21,251 | 17,005 | 16,002 | 20,407 | 17,210 | 16,420 | 13,395 | ||
| Accrued expenses | 54,742 | 47,630 | 50,588 | 45,677 | 47,945 | 49,387 | 40,013 | 38,997 | ||
| Due to SSE Holdings | 17,103 | 17,522 | 17,881 | 18,117 | 19,552 | 19,497 | 20,261 | 20,586 | ||
| Total current liabilities | 164,067 | 152,177 | 150,185 | 143,052 | 147,718 | 144,542 | 133,909 | 125,961 | ||
| Long-term debt | 245,636 | 245,375 | 245,113 | 244,851 | 244,589 | 244,328 | 244,066 | 243,804 | ||
| Liabilities under tax receivable agreement, net of current portion | 235,613 | 235,614 | 235,361 | 235,361 | 234,893 | 234,892 | 234,862 | 234,273 | ||
| Total liabilities | 1,136,487 | 1,122,858 | 1,101,457 | 1,087,010 | 1,075,114 | 1,073,515 | 1,052,444 | 1,024,469 | ||
| Commitments and contingencies | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Additional paid-in capital | 426,601 | 423,849 | 421,394 | 417,489 | 415,649 | 413,291 | 410,537 | 406,998 | 405,957 | |
| Retained earnings (accumulated deficit) | 16,777 | 9,554 | 1,927 | (5,021) | (3,487) | 4,368 | 6,392 | 7,580 | 17,742 | |
| Accumulated other comprehensive loss | (3) | (3) | (4) | (4) | 0 | (1) | (1) | 0 | ||
| Total stockholders' equity | 469,370 | 459,086 | 448,447 | 436,993 | 436,836 | 442,457 | 441,841 | 439,464 | 449,805 | $ 444,587 | 
| TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY | $ 1,605,857 | $ 1,581,944 | $ 1,549,904 | $ 1,524,003 | $ 1,511,950 | $ 1,515,972 | $ 1,494,285 | $ 1,463,933 | $ 1,471,775 | |
| Preferred stock, par value (in dollars per share) | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 | ||
| Preferred stock, shares authorized (in shares) | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | 10,000,000 | ||
| Preferred stock, shares issued (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Preferred stock, shares outstanding (in shares) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | $ 39 | ||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Common stock, shares authorized (in shares) | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | 200,000,000 | ||
| Common stock, shares, issued (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | ||
| Common stock, shares, outstanding (in shares) | 39,474,315 | 39,466,268 | 39,449,246 | 39,404,905 | 39,284,998 | 39,279,699 | 39,266,670 | 39,218,290 | ||
| Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | $ 3 | ||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Common stock, shares authorized (in shares) | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | 35,000,000 | ||
| Common stock, shares, issued (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | ||
| Common stock, shares, outstanding (in shares) | 2,834,513 | 2,834,513 | 2,844,513 | 2,844,513 | 2,869,513 | 2,869,513 | 2,871,513 | 2,911,587 | ||
| Parent Company | ||||||||||
| Current assets: | ||||||||||
| Cash | $ 6,672 | $ 7,152 | ||||||||
| Prepaid expenses | 63 | 62 | ||||||||
| Total current assets | 6,735 | 7,214 | ||||||||
| Deferred income taxes, net | 328,870 | 324,113 | ||||||||
| Investment in SSE Holdings | 362,296 | 337,939 | ||||||||
| TOTAL ASSETS | 935,960 | 887,542 | ||||||||
| Current liabilities: | ||||||||||
| Accounts payable | 146 | 39 | ||||||||
| Accrued expenses | 621 | 113 | ||||||||
| Total current liabilities | 22,794 | 17,127 | ||||||||
| Long-term debt | 245,636 | 244,589 | ||||||||
| Liabilities under tax receivable agreement, net of current portion | 235,613 | 234,893 | ||||||||
| Total liabilities | 504,043 | 496,609 | ||||||||
| Commitments and contingencies | ||||||||||
| Stockholders' equity: | ||||||||||
| Preferred stock | 0 | 0 | ||||||||
| Additional paid-in capital | 426,601 | 415,649 | ||||||||
| Retained earnings (accumulated deficit) | 5,277 | (24,758) | ||||||||
| Accumulated other comprehensive loss | (3) | 0 | ||||||||
| Total stockholders' equity | 431,917 | 390,933 | ||||||||
| TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY | $ 935,960 | $ 887,542 | ||||||||
| Preferred stock, par value (in dollars per share) | $ 0 | $ 0 | ||||||||
| Preferred stock, shares authorized (in shares) | 10,000,000 | 10,000,000 | ||||||||
| Preferred stock, shares issued (in shares) | 0 | 0 | ||||||||
| Preferred stock, shares outstanding (in shares) | 0 | 0 | ||||||||
| Parent Company | Affiliated Entity | ||||||||||
| Current assets: | ||||||||||
| Notes receivable | $ 216,946 | $ 209,013 | ||||||||
| Parent Company | Affiliated Entity | Conversion Option | ||||||||||
| Current assets: | ||||||||||
| Notes receivable | 12,900 | 6,300 | ||||||||
| Parent Company | Related Party | ||||||||||
| Current assets: | ||||||||||
| Notes receivable | 8,213 | 2,963 | ||||||||
| Current liabilities: | ||||||||||
| Due to SSE Holdings | 22,027 | 16,975 | ||||||||
| Parent Company | Class A Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 39 | $ 39 | ||||||||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | ||||||||
| Common stock, shares authorized (in shares) | 200,000,000 | 200,000,000 | ||||||||
| Common stock, shares, issued (in shares) | 39,284,998 | 39,142,397 | ||||||||
| Common stock, shares, outstanding (in shares) | 39,284,998 | 39,142,397 | ||||||||
| Parent Company | Class B Common Stock | ||||||||||
| Stockholders' equity: | ||||||||||
| Common stock | $ 3 | $ 3 | ||||||||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | ||||||||
| Common stock, shares authorized (in shares) | 35,000,000 | 35,000,000 | ||||||||
| Common stock, shares, issued (in shares) | 2,869,513 | 2,921,587 | ||||||||
| Common stock, shares, outstanding (in shares) | 2,869,513 | 2,921,587 | 
SCHEDULE I: CONDENSED FINANCIAL INFORMATION OF REGISTRANT - CONDENSED STATEMENTS OF INCOME (LOSS) (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | |||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| Condensed Income Statements, Captions [Line Items] | |||||||||
| TOTAL REVENUE | $ 276,207 | $ 271,805 | $ 253,278 | $ 227,814 | $ 230,752 | $ 203,391 | $ 1,087,533 | $ 900,486 | $ 739,893 | 
| General and administrative expenses | 30,939 | 31,476 | 31,311 | 26,931 | 29,487 | 31,386 | 129,542 | 120,009 | 87,196 | 
| TOTAL EXPENSES | 270,550 | 267,057 | 256,467 | 232,640 | 231,571 | 218,326 | 1,081,612 | 927,380 | 755,746 | 
| INCOME (LOSS) FROM OPERATIONS | 5,657 | 4,748 | (3,189) | (4,826) | (819) | (14,935) | 5,921 | (26,894) | (15,853) | 
| Other income (expense), net | 3,441 | 3,227 | 2,837 | 1,482 | 538 | (289) | 12,776 | 4,127 | 95 | 
| Interest expense | (433) | (405) | (403) | (475) | (315) | (355) | (1,717) | (1,518) | (1,577) | 
| INCOME (LOSS) BEFORE INCOME TAXES | 8,665 | 7,570 | (755) | (3,819) | (596) | (15,579) | 16,980 | (24,285) | (17,335) | 
| Income tax benefit | 529 | 347 | 867 | (1,508) | 707 | (4,297) | (4,010) | (1,180) | (11,318) | 
| Net income (loss) (including amounts attributable to non-controlling interests) | $ 8,136 | $ 7,223 | $ (1,622) | $ (2,311) | $ (1,303) | $ (11,282) | 20,990 | (23,105) | (6,017) | 
| Parent Company | |||||||||
| Condensed Income Statements, Captions [Line Items] | |||||||||
| Intercompany revenue | 7,971 | 2,293 | 2,878 | ||||||
| TOTAL REVENUE | 7,971 | 2,293 | 2,878 | ||||||
| General and administrative expenses | 6,663 | 3,132 | 2,491 | ||||||
| Intercompany expenses | 54 | 67 | 0 | ||||||
| TOTAL EXPENSES | 6,717 | 3,199 | 2,491 | ||||||
| INCOME (LOSS) FROM OPERATIONS | 1,254 | (906) | 387 | ||||||
| Equity in net income (loss) from SSE Holdings | 10,091 | (25,335) | (19,393) | ||||||
| Other income (expense), net | 14,533 | (1,767) | (25,593) | ||||||
| Interest expense | (1,047) | (1,047) | (867) | ||||||
| INCOME (LOSS) BEFORE INCOME TAXES | 24,831 | (29,055) | (45,466) | ||||||
| Income tax benefit | (5,203) | (5,783) | (21,677) | ||||||
| Net income (loss) (including amounts attributable to non-controlling interests) | $ 30,034 | $ (23,272) | $ (23,789) | ||||||
SCHEDULE I: CONDENSED FINANCIAL INFORMATION OF REGISTRANT - CONDENSED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Details) - USD ($)  | 
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sep. 27, 2023  | 
Jun. 28, 2023  | 
Mar. 29, 2023  | 
Sep. 28, 2022  | 
Jun. 29, 2022  | 
Mar. 30, 2022  | 
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|||
| Condensed Statement of Income Captions [Line Items] | |||||||||||
| Net income (loss) | $ 8,136,000 | $ 7,223,000 | $ (1,622,000) | $ (2,311,000) | $ (1,303,000) | $ (11,282,000) | $ 20,990,000 | $ (23,105,000) | $ (6,017,000) | ||
| Other comprehensive income (loss), net of tax: | |||||||||||
| Change in foreign currency translation adjustment | $ 0 | $ (4,000) | $ (1,000) | $ (1,000) | (3,000) | (1,000) | (2,000) | ||||
| OTHER COMPREHENSIVE LOSS | (3,000) | (1,000) | (2,000) | ||||||||
| COMPREHENSIVE INCOME (LOSS) | 20,987,000 | (23,106,000) | (6,019,000) | ||||||||
| Income tax benefit | [1] | 0 | 0 | 0 | |||||||
| Parent Company | |||||||||||
| Condensed Statement of Income Captions [Line Items] | |||||||||||
| Net income (loss) | 30,034,000 | (23,272,000) | (23,789,000) | ||||||||
| Other comprehensive income (loss), net of tax: | |||||||||||
| Change in foreign currency translation adjustment | (3,000) | (1,000) | (2,000) | ||||||||
| OTHER COMPREHENSIVE LOSS | (3,000) | (1,000) | (2,000) | ||||||||
| COMPREHENSIVE INCOME (LOSS) | $ 30,031,000 | $ (23,273,000) | $ (23,791,000) | ||||||||
  | |||||||||||
SCHEDULE II: VALUATION AND QUALIFYING ACCOUNTS (Details) - Deferred tax asset valuation allowance - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 27, 2023  | 
Dec. 28, 2022  | 
Dec. 29, 2021  | 
|
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at beginning of period | $ 9,560 | $ 5,173 | $ 2,656 | 
| Charged to costs and expenses | (9,203) | 4,955 | (6,063) | 
| Charged to other accounts | 0 | (568) | 8,580 | 
| Reductions | 0 | 0 | 0 | 
| Balance at end of period | $ 357 | $ 9,560 | $ 5,173 |