v3.25.2
Accumulated Other Comprehensive Income (Loss) - Components of Accumulated Other Comprehensive Income (Loss) (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Accumulated Other Comprehensive Loss [Line Items]    
Beginning balance $ (20,559) $ (21,648)
Other comprehensive income (loss) before reclassification 4,176 947
Amounts reclassified from accumulated other comprehensive income (loss) 51 0
Net current period other comprehensive income 68 142
Ending balance (16,264) (20,559)
Unrealized Gains and Losses on Available-for- Sale Securities [Member]    
Accumulated Other Comprehensive Loss [Line Items]    
Beginning balance (20,768) (21,715)
Other comprehensive income (loss) before reclassification 4,176 947
Amounts reclassified from accumulated other comprehensive income (loss) 51 0
Net current period other comprehensive income 0 0
Ending balance (16,541) (20,768)
Defined Benefit Pension Items [Member]    
Accumulated Other Comprehensive Loss [Line Items]    
Beginning balance 209 67
Other comprehensive income (loss) before reclassification 0 0
Amounts reclassified from accumulated other comprehensive income (loss) 0 0
Net current period other comprehensive income 68 142
Ending balance $ 277 $ 209