Summary of significant accounting policies - Summary of the Allowance for Doubtful Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | |
---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
Accounts Receivable, after Allowance for Credit Loss [Abstract] | ||
Beginning balance | $ (1,846) | $ (316) |
Bad debt expense, net of recoveries | 1,164 | 2,778 |
Write-offs | 16 | 1,248 |
Ending balance | $ (666) | $ (1,846) |
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of increase in allowance for credit loss on accounts receivable, from recovery. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|