Revenue - Schedule of Interest Income (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| Revenues from External Customers and Long-Lived Assets [Line Items] | ||||
| Contractual interest income on unpaid principal balance | $ 428,581 | $ 364,962 | $ 828,689 | $ 702,126 |
| Amortization of discount on loans | 85,904 | 64,115 | 157,220 | 120,812 |
| Amortization of premiums on loans | (6,977) | (4,882) | (13,221) | (9,515) |
| Interest receivable charged-off, net of recoveries | (13,882) | (14,828) | (24,940) | (26,992) |
| Total interest income | 493,626 | 409,367 | 947,749 | 786,431 |
| Writeoffs, net | $ 13,882 | 14,828 | $ 24,940 | 26,992 |
| Revision of Prior Period, Adjustment | ||||
| Revenues from External Customers and Long-Lived Assets [Line Items] | ||||
| Contractual interest income on unpaid principal balance | 375,900 | 713,100 | ||
| Interest receivable charged-off, net of recoveries | (25,800) | (37,900) | ||
| Writeoffs, net | $ 25,800 | $ 37,900 | ||