XML 79 R65.htm IDEA: XBRL DOCUMENT v3.22.4
Fair value measurements - Notional Amounts and Fair Values of Derivatives by Product (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional $ 17,050 $ 14,300
Derivatives asset, Fair Value 1,762 92
Derivative liability, notional 1,914,275 3,534,300
Derivative liability, Fair Value 1,805 368
Other contracts | TBAs    
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional 1,775 14,300
Derivatives asset, Fair Value 1,762 92
Derivative liability, notional 1,775 14,300
Derivative liability, Fair Value 1,761 81
Other contracts | Forward reverse repurchase agreements    
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional 15,000  
Derivatives asset, Fair Value 0  
Other contracts | Other    
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional 275  
Derivatives asset, Fair Value 0  
Commodity contracts | Futures    
Derivatives, Fair Value [Line Items]    
Derivative liability, notional 1,912,500 3,520,000
Derivative liability, Fair Value $ 44 $ 287