v3.26.1
Stock-based compensation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jan. 01, 2021
May 12, 2020
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Executive Officers              
Stock-based compensation              
Fair value of stocks vested         $ 23,300    
Fair market value of stock vested         44,000    
Trigger windfall         7,600    
Unrecognized share based compensation, cost related to non-vested restricted stock awards and performance shares     $ 18,300   $ 18,300    
Unrecognized compensation expected to be recognized over a weighted-average period         1 year 6 months 10 days    
Directors              
Stock-based compensation              
Restricted stock unit     500 $ 400 $ 1,100 $ 700  
Incentive award, tax benefit (expense)     $ 86 $ 84 200 $ 100  
Fair value of stocks vested         400    
Fair market value of stock vested         800    
Trigger windfall         $ 200    
Restricted Stock              
Stock-based compensation              
Shares of restricted stock (in shares)         14,235   24,476
Restricted Stock | Vesting Scenario One              
Stock-based compensation              
Award requisite service period 10 years 10 years          
Share based compensation arrangement by share based payment award vesting period annum, age 55 years 55 years          
Restricted Stock | Vesting Scenario Two              
Stock-based compensation              
Award requisite service period 5 years 5 years          
Share based compensation arrangement by share based payment award vesting period annum, age 60 years 60 years          
Restricted Stock | Vesting Scenario Three              
Stock-based compensation              
Award requisite service period   10 years          
Share based compensation arrangement by share based payment award vesting period annum, age   55 years          
Restricted Stock | Vesting Scenario Four              
Stock-based compensation              
Award requisite service period   5 years          
Share based compensation arrangement by share based payment award vesting period annum, age   60 years          
Restricted Stock | Directors              
Stock-based compensation              
Shares of restricted stock (in shares)     906   906    
Restricted Stock | Minimum              
Stock-based compensation              
Share based compensation arrangement by share based payment award vesting period annum   4 years          
Share based compensation arrangement by share based payment award vesting through annual installments 3 years            
Restricted Stock | Maximum              
Stock-based compensation              
Share based compensation arrangement by share based payment award vesting period annum   5 years          
Share based compensation arrangement by share based payment award vesting through annual installments 4 years            
Performance Based Shares              
Stock-based compensation              
Share based compensation arrangement by share based payment award vesting period annum         3 years    
Share based compensation arrangement by share based payment award vesting period annum         3 years    
Performance Based Shares | Vesting Scenario One              
Stock-based compensation              
Award requisite service period         10 years    
Share based compensation arrangement by share based payment award vesting period annum, age         55 years    
Performance Based Shares | Vesting Scenario Two              
Stock-based compensation              
Award requisite service period         5 years    
Share based compensation arrangement by share based payment award vesting period annum, age         60 years    
Performance Based Shares | Executive Officers              
Stock-based compensation              
Shares of restricted stock (in shares)     0 0 35,820 47,494  
Restricted stock unit     $ 1,400 $ 800 $ 5,300 $ 4,200  
Incentive award, tax benefit (expense)     $ 98 $ 61 $ 300 $ 500  
Performance Based Shares | Minimum              
Stock-based compensation              
Number of shares, percentage     50.00%   50.00%    
Performance Based Shares | Maximum              
Stock-based compensation              
Number of shares, percentage     150.00%   150.00%    
Restricted Stock Units (RSUs) | Executive Officers              
Stock-based compensation              
Shares of restricted stock (in shares)     60,625 121,649 103,020 194,268  
Restricted stock unit     $ 4,900 $ 6,900 $ 10,800 $ 14,400  
Incentive award, tax benefit (expense)     $ 1,200 $ 1,000 $ 1,800 $ 1,600  
Restricted Stock Units (RSUs) | Directors              
Stock-based compensation              
Shares of restricted stock (in shares)     12,163 17,816 13,329 19,362  
Unrestricted Stock | Directors              
Stock-based compensation              
Shares of restricted stock (in shares)       2,688   2,688