Inventories - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |
|---|---|---|---|
Sep. 30, 2026 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Inventory Disclosure [Abstract] | |||
| Unrealized gains (losses) included in inventory balance | $ (2,900) | $ (71,100) | |
| Premium on metals position | $ 12,835 | $ 11,245 | $ 11,200 |