Consolidated Statements of Stockholders’ Equity (Parenthetical) - $ / shares |
12 Months Ended | ||
---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
Statement of Stockholders' Equity [Abstract] | |||
Dividend declared per share (in dollars per share) | $ 2.12 | $ 1.92 | $ 1.76 |