XML 66 R57.htm IDEA: XBRL DOCUMENT v3.23.1
Fair value measurements - Fair Value Amounts of Derivative Instruments and their Effect on Statement of Operations (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Derivative Instruments, Gain (Loss) [Line Items]    
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ 211 $ 2,254
Commodity contracts | Principal Transaction Revenue | Futures    
Derivative Instruments, Gain (Loss) [Line Items]    
Recognized in Income on Derivatives (pre-tax) Gain (Loss) 210 2,191
Other contracts | Principal Transaction Revenue | TBAs    
Derivative Instruments, Gain (Loss) [Line Items]    
Recognized in Income on Derivatives (pre-tax) Gain (Loss) 2 $ 63
Other contracts | Other | Foreign exchange forward contracts    
Derivative Instruments, Gain (Loss) [Line Items]    
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ (1)