XML 38 R25.htm IDEA: XBRL DOCUMENT
v3.22.1

Accounts receivable (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Receivables [Abstract] |
Summary of accounts receivable allowance for credit losses | The following sets forth activities in our allowance for credit losses (in thousands):
|  | 2021 |  |  | 2020 |  |  | 2019 |
Balance as of beginning of period |  | $ | 1,118 |  |  | $ | 904 |  |  | $ | 597 |
Charges to provision for credit losses |  |  | 533 |  |  |  | 238 |  |  |  | 318 |
Write-off of uncollectible receivables |  |  | (317 | ) |  |  | (24 | ) |  |  | (11 | )
Balance as of end of period |  | $ | 1,334 |  |  | $ | 1,118 |  |  | $ | 904 |

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration