Derivative Financial Instruments - Schedule of Impact of the Derivative Instruments on Consolidated Statements of Operations and Comprehensive Income (Loss) (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| Derivatives designated as cash flow hedges | Funding costs | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| The effects of cash flow hedging | $ (34) | $ 84 | $ 119 | $ 308 |
| Derivatives not designated as hedges | Other income, net | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| The effects of derivatives not designated in hedging relationships | (379) | 2,705 | (1,567) | (1,248) |
| Derivatives not designated as hedges | Gain on sales of loans | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| The effects of derivatives not designated in hedging relationships | $ 6,552 | $ 5,321 | $ 13,279 | $ 15,883 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|