Consolidated Statements of Shareholders' Equity (Parenthetical) - $ / shares |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Statement of Stockholders' Equity [Abstract] | ||||
| Dividends and dividend equivalents, common stock (in dollars per share) | $ 1.0568 | $ 1.0065 | $ 3.1704 | $ 3.0195 |
| Dividends and dividend equivalents, preferred stock (in dollars per share) | $ 1.0568 | $ 1.0065 | $ 3.1704 | $ 3.0195 |