XML 53 R40.htm IDEA: XBRL DOCUMENT v3.22.1
Accounts receivable - Summary Of Accounts Receivable Allowance For Credit Losses (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Credit Loss [Abstract]      
Balance as of beginning of period $ 1,118 $ 904 $ 597
Charges to provision for doubtful accounts 533 238 318
Write-off of uncollectible receivables (317) (24) (11)
Balance as of end of period $ 1,334 $ 1,118 $ 904