Contingent Liabilities, Commitments and Legal Matters (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
Jan. 31, 2026 |
Jan. 31, 2025 |
Jul. 31, 2025 |
|
| Commitments and Contingencies Disclosure [Abstract] | |||||
| Standby repurchase obligations amount | $ 3,673,431 | $ 3,673,431 | $ 3,484,235 | ||
| Term of commitments (in months) | 18 months | ||||
| Repurchase and guarantee reserve balances | 19,384 | $ 19,384 | $ 17,508 | ||
| Losses on repurchase agreements | $ 0 | $ 0 | $ 0 | $ 0 | |