Annual report pursuant to Section 13 and 15(d)

Schedule of Available-for-sale Securities Reconciliation (Details)

v3.22.4
Schedule of Available-for-sale Securities Reconciliation (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Securities, Available-for-sale [Line Items]        
Principal/Current Face $ 10,008,932 $ 11,550,625    
Unamortized Premium 243,639 592,809    
Accretable Purchase Discount (33,638) (39)    
Amortized Cost 8,114,627 7,005,013    
Allowance for Credit Losses (6,958) (14,238) $ (22,528) $ (244,876)
Unrealized Gain 8,745 192,040    
Unrealized Loss (337,680) (21,112)    
Available-for-sale securities, at fair value 7,778,734 7,161,703    
Mortgage-backed Securities, Issued by US Government Sponsored Enterprises [Member]        
Debt Securities, Available-for-sale [Line Items]        
Principal/Current Face 8,745,143 9,609,810    
Unamortized Premium 235,128 576,276    
Accretable Purchase Discount (33,413) (12)    
Amortized Cost 7,982,992 6,987,627    
Allowance for Credit Losses (6,785) (12,851) (17,889) 0
Unrealized Gain 8,200 192,007    
Unrealized Loss (330,831) (17,384)    
Available-for-sale securities, at fair value 7,653,576 7,149,399    
Mortgage-Backed Securities, Issued by US Government Sponsored Enterprises, Principal and Interest        
Debt Securities, Available-for-sale [Line Items]        
Principal/Current Face 7,781,277 6,411,363    
Unamortized Premium 189,246 270,699    
Accretable Purchase Discount (33,413) (12)    
Amortized Cost 7,937,110 6,682,050    
Allowance for Credit Losses 0 0    
Unrealized Gain 6,310 171,308    
Unrealized Loss (325,960) (4,855)    
Available-for-sale securities, at fair value 7,617,460 6,848,503    
Mortgage-Backed Securities, Issued by US Government Sponsored Enterprises, Interest-Only-Strip        
Debt Securities, Available-for-sale [Line Items]        
Principal/Current Face 963,866 3,198,447    
Unamortized Premium 45,882 305,577    
Accretable Purchase Discount 0 0    
Amortized Cost 45,882 305,577    
Allowance for Credit Losses (6,785) (12,851)    
Unrealized Gain 1,890 20,699    
Unrealized Loss (4,871) (12,529)    
Available-for-sale securities, at fair value 36,116 300,896    
Mortgage-backed Securities, Issued by Private Enterprises [Member]        
Debt Securities, Available-for-sale [Line Items]        
Principal/Current Face 1,263,789 1,940,815    
Unamortized Premium 8,511 16,533    
Accretable Purchase Discount (225) (27)    
Amortized Cost 131,635 17,386    
Allowance for Credit Losses (173) (1,387) $ (4,639) $ (244,876)
Unrealized Gain 545 33    
Unrealized Loss (6,849) (3,728)    
Available-for-sale securities, at fair value $ 125,158 $ 12,304