XML 49 R38.htm IDEA: XBRL DOCUMENT v3.22.2.2
ACCOUNTS RECEIVABLE (Tables)
9 Months Ended
Sep. 30, 2022
ACCOUNTS RECEIVABLE  
Schedule of accounts receivable

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

​

​

​

​

​

​

​

​

​

September 30, 

​

December 31, 

​

​

2022

​

2021

Trade receivables

​

$

43,093

​

$

47,352

Allowance for doubtful accounts

​

​

(1,703)

​

​

(665)

Total accounts receivable

​

$

41,390

​

$

46,687

Schedule of allowance for doubtful accounts

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

​

​

​

​

​

​

​

​

​

September 30, 

​

December 31, 

​

​

2022

​

2021

Balance at beginning of period

​

$

665

​

$

500

Provision for uncollectible accounts, net of recoveries

​

​

1,324

​

​

447

Uncollectible accounts written off

​

​

(286)

​

​

(282)

Balance at end of period

​

$

1,703

​

$

665