XML 41 R32.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of significant accounting policies - Prior Period Adjustments (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Mar. 31, 2023
Dec. 31, 2022
Jun. 30, 2022
Mar. 31, 2022
Dec. 31, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Allowance for credit losses $ 23,218 $ 25,444 $ 27,472 $ 29,374 $ 28,407 $ 28,383
Overstatement of allowance for credit losses            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Allowance for credit losses 1,500 $ 1,500        
Overstatement of allowance for credit losses | Adoption of ASU 2016-13            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Allowance for credit losses 1,100          
Overstatement of allowance for credit losses | Reduction in the first quarter provision requirement            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Allowance for credit losses $ 400