Loans Held for Investment and Allowance for Credit Losses - Schedule of Discount Included in Loans Held for Investment (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
|
| Finance Receivable, Loans Held For Investment, Discount [Roll Forward] | ||
| Balance at the beginning of the period | $ 122,477 | $ 102,680 |
| Additions from loans purchased or originated, net of refunds | 133,998 | 106,089 |
| Amortization of discount | (94,059) | (71,316) |
| Unamortized discount released on loans sold | (36,270) | (30,773) |
| Impact of foreign currency translation | 83 | (370) |
| Balance at the end of the period | $ 126,229 | $ 106,310 |