v3.26.3
Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Cash and cash equivalents $ 28,384,000 $ 47,498,000  
Allowance for doubtful accounts $ 0 0  
Property, Plant and Equipment, Depreciation Method [Extensible Enumeration] us-gaap:StraightLineDepreciationMethodMember    
Impairment of liquor licenses $ 0 0 $ 0
Asset retirement obligation liability 1,500,000 1,100,000  
Impairment and disposal of long-lived assets $ 952,000   1,553,000
Operating and finance leases, remaining lease start range terms description less than 1 year    
Outstanding borrowings $ 0    
Advertising expenses $ 2,600,000 2,600,000 3,000,000
Stock options, RSUs and PSUs granted, vesting period 48 months    
PSU      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Stock options, RSUs and PSUs granted, vesting period 36 months    
Restaurant Location      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Impairment and disposal of long-lived assets $ 900,000 $ 0 $ 1,600,000
Minimum      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Income tax benefit being realized 50.00%    
Short-term lease, term of contract 1 month    
Percentage of target number of shares participants may earn 50.00%    
Minimum | RSU      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Stock options, RSUs and PSUs granted, vesting period 12 months    
Maximum      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Operating and finance leases, remaining lease terms 20 years    
Short-term lease, term of contract 12 months    
Percentage of target number of shares participants may earn 150.00%    
Maximum | RSU      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Stock options, RSUs and PSUs granted, vesting period 48 months    
Product Concentration Risk | Sales Revenue Net | Food and Beverage Costs | JFC International Inc.      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Concentration risk, percentage 53.00% 58.00% 55.00%
Product Concentration Risk | Sales Revenue Net | Food and Beverage Costs | Mutual Trading Co., Inc      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Concentration risk, percentage 40.00% 32.00% 34.00%