Inventories - Summary of Components of Inventory (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Jun. 30, 2025 |
|---|---|---|
| Inventory [Line Items] | ||
| Inventories | $ 1,031,156 | $ 794,812 |
| Restricted inventories | 504,593 | 484,733 |
| Restricted and non-restricted inventory, net | 1,535,749 | 1,279,545 |
| Inventory held for Sale | ||
| Inventory [Line Items] | ||
| Inventories | 770,526 | 558,024 |
| Repurchase Arrangements with Customers | ||
| Inventory [Line Items] | ||
| Inventories | 94,699 | 116,546 |
| Consignment Arrangements with Customers | ||
| Inventory [Line Items] | ||
| Inventories | 4,229 | 5,998 |
| Collectible Coins, Held at Lower of Cost or Net Realizable Value | ||
| Inventory [Line Items] | ||
| Inventories | 76,096 | 68,193 |
| Borrowed Precious Metals | ||
| Inventory [Line Items] | ||
| Inventories | 85,606 | 46,051 |
| Product Financing Arrangements | ||
| Inventory [Line Items] | ||
| Restricted inventories | $ 504,593 | $ 484,733 |