v3.25.2
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, 2025
Jul. 31, 2024
Jul. 31, 2023
Accounting Policies [Abstract]      
Basic weighted-average number of shares 25,188 25,241 25,517
Stock options 2 1 9
Non-vested restricted Class B common stock 105 156 51
Diluted weighted-average number of shares 25,295 25,398 25,577