XML 28 R15.htm IDEA: XBRL DOCUMENT v3.22.1
ACCOUNTS RECEIVABLE
3 Months Ended
Mar. 31, 2022
ACCOUNTS RECEIVABLE  
ACCOUNTS RECEIVABLE

7. ACCOUNTS RECEIVABLE

The components of accounts receivable are as follows (in thousands):

​

​

​

​

​

​

​

​

​

March 31, 

​

December 31, 

​

​

2022

​

2021

Trade receivables

​

$

37,738

​

$

47,352

Allowance for doubtful accounts

​

​

(1,077)

​

​

(665)

Total accounts receivable

​

$

36,661

​

$

46,687

​

The following table summarizes activity in the allowance for doubtful accounts (in thousands):

​

​

​

​

​

​

​

​

​

March 31, 

​

December 31, 

​

​

2022

​

2021

Balance at beginning of period

​

$

665

​

$

500

Provision for uncollectible accounts, net of recoveries

​

​

419

​

​

447

Uncollectible accounts written off

​

​

(7)

​

​

(282)

Balance at end of period

​

$

1,077

​

$

665

​