XML 93 R82.htm IDEA: XBRL DOCUMENT v3.21.2
Commitments and contingencies - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2020
Commitments and Contingencies Disclosure [Abstract]          
Floating interest rate loan commitments     $ 1,820,000   $ 1,650,000
Total principal amount of loans repurchased or indemnified $ 761 $ 1,568 $ 1,469 $ 4,367