XML 207 R174.htm IDEA: XBRL DOCUMENT v3.24.0.1
Guarantees - Credit recourse - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Guarantee on loans sold or serviced with credit recourse      
Guarantor Obligations [Line Items]      
Valuation allowances and reserves balance $ 4,211 $ 6,897 $ 11,800
Serviced mortgage loans      
Guarantor Obligations [Line Items]      
Loans serviced 9,900,000 11,100,000  
Loans with recourse | Serviced mortgage loans      
Guarantor Obligations [Line Items]      
Repurchased loans 2,000 7,000  
Loans with recourse | Residential mortgage loans      
Guarantor Obligations [Line Items]      
Loans serviced $ 561,000 $ 640,000