v3.26.3
Description of Business and Summary of Significant Accounting Policies - Schedule of Weighted-Average Number of Shares Used in the Calculation of Basic and Diluted Earnings Per Share (Details) - shares
shares in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Schedule of Weighted-Average Number of Shares Used in the Calculation of Basic and Diluted Earnings Per Share [Abstract]    
Basic weighted-average number of shares 12,993 13,736
Effect of dilutive securities:    
Stock options
Non-vested restricted Class B common stock
Deferred stock units
Diluted weighted-average number of shares 12,993 13,736