Earnings Per Share - Schedule of the Dilutive Earnings per Share (Details) - shares |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Apr. 30, 2025 |
Apr. 30, 2024 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
Schedule of the Dilutive Earnings per Share [Line Items] | ||||
Shares excluded from the calculation of diluted earnings per share | 337 | 508 | 1,024 | 1,280 |
Stock Options [Member] | ||||
Schedule of the Dilutive Earnings per Share [Line Items] | ||||
Shares excluded from the calculation of diluted earnings per share | 170 | 126 | 892 | 861 |
Non-vested restricted Class B common stock [Member] | ||||
Schedule of the Dilutive Earnings per Share [Line Items] | ||||
Shares excluded from the calculation of diluted earnings per share | 77 | 181 | 78 | 216 |
Deferred stock units [Member] | ||||
Schedule of the Dilutive Earnings per Share [Line Items] | ||||
Shares excluded from the calculation of diluted earnings per share | 90 | 201 | 54 | 203 |