v3.26.1
Fair value measurements - Schedule of Assets and Liabilities Not Measured at Fair Value (Details) - USD ($)
$ in Thousands
Jun. 30, 2026
Dec. 31, 2025
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Company-owned life insurance $ 115,874 $ 109,094
Fair Value, Nonrecurring    
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Cash and cash equivalents 38,453 38,405
Deposits with clearing organizations 120,860 79,611
Securities borrowed 154,634 160,006
Receivables from brokers 54,320 51,080
Securities failed to deliver 43,866 2,583
Clearing organizations 56,929 27,215
Trade date receivables   14,800
Other 7,479 4,283
Total receivable from brokers, dealers and clearing organizations 317,228 259,967
Receivables from customers 1,550,773 1,415,049
Notes receivable, net 53,482 57,965
Company-owned life insurance 115,874 109,094
Investments 2,441 2,114
Drafts payable 7,181 18,347
Bank call loans 349,900 76,800
Securities loaned 392,375 370,331
Payables to brokers 3,907 728
Securities failed to receive 36,095 18,937
Trade date payables, net 181,210  
Clearing organization and other 4,975 7,841
Total payables to brokers, dealers and clearing organizations 618,562 397,837
Payables to customers 423,779 393,694
Securities sold under agreements to repurchase 983,116 997,192
Fair Value, Nonrecurring | Level 1    
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Cash and cash equivalents 38,453 38,405
Deposits with clearing organizations 120,860 79,611
Securities borrowed 0 0
Receivables from brokers 0 0
Securities failed to deliver 0 0
Clearing organizations 0 0
Trade date receivables   0
Other 0 0
Total receivable from brokers, dealers and clearing organizations 0 0
Receivables from customers 0 0
Notes receivable, net 0 0
Company-owned life insurance 0 0
Investments 0 0
Drafts payable 7,181 18,347
Bank call loans 0 0
Securities loaned 0 0
Payables to brokers 0 0
Securities failed to receive 0 0
Trade date payables, net 0  
Clearing organization and other 0 0
Total payables to brokers, dealers and clearing organizations 0 0
Payables to customers 0 0
Securities sold under agreements to repurchase 0 0
Fair Value, Nonrecurring | Level 2    
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Cash and cash equivalents 0 0
Deposits with clearing organizations 0 0
Securities borrowed 154,634 160,006
Receivables from brokers 54,320 51,080
Securities failed to deliver 43,866 2,583
Clearing organizations 56,929 27,215
Trade date receivables   14,800
Other 7,479 4,283
Total receivable from brokers, dealers and clearing organizations 317,228 259,967
Receivables from customers 1,550,773 1,415,049
Notes receivable, net 53,482 57,965
Company-owned life insurance 115,874 109,094
Investments 2,441 2,114
Drafts payable 0 0
Bank call loans 349,900 76,800
Securities loaned 392,375 370,331
Payables to brokers 3,907 728
Securities failed to receive 36,095 18,937
Trade date payables, net 181,210  
Clearing organization and other 4,975 7,841
Total payables to brokers, dealers and clearing organizations 618,562 397,837
Payables to customers 423,779 393,694
Securities sold under agreements to repurchase 983,116 997,192
Fair Value, Nonrecurring | Level 3    
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Cash and cash equivalents 0 0
Deposits with clearing organizations 0 0
Securities borrowed 0 0
Receivables from brokers 0 0
Securities failed to deliver 0 0
Clearing organizations 0 0
Trade date receivables   0
Other 0 0
Total receivable from brokers, dealers and clearing organizations 0 0
Receivables from customers 0 0
Notes receivable, net 0 0
Company-owned life insurance 0 0
Investments 0 0
Drafts payable 0 0
Bank call loans 0 0
Securities loaned 0 0
Payables to brokers 0 0
Securities failed to receive 0 0
Trade date payables, net 0  
Clearing organization and other 0 0
Total payables to brokers, dealers and clearing organizations 0 0
Payables to customers 0 0
Securities sold under agreements to repurchase 0 0
Carrying Value | Fair Value, Nonrecurring    
Financial Instruments, Estimate Not Practicable, Fair Value [Line Items]    
Cash and cash equivalents 38,453 38,405
Deposits with clearing organizations 120,860 79,611
Securities borrowed 154,634 160,006
Receivables from brokers 54,320 51,080
Securities failed to deliver 43,866 2,583
Clearing organizations 56,929 27,215
Trade date receivables   14,800
Other 7,479 4,283
Total receivable from brokers, dealers and clearing organizations 317,228 259,967
Receivables from customers 1,550,773 1,415,049
Notes receivable, net 53,482 57,965
Company-owned life insurance 115,874 109,094
Investments 2,441 2,114
Drafts payable 7,181 18,347
Bank call loans 349,900 76,800
Securities loaned 392,375 370,331
Payables to brokers 3,907 728
Securities failed to receive 36,095 18,937
Trade date payables, net 181,210  
Clearing organization and other 4,975 7,841
Total payables to brokers, dealers and clearing organizations 618,562 397,837
Payables to customers 423,779 393,694
Securities sold under agreements to repurchase $ 983,116 $ 997,192