XML 31 R15.htm IDEA: XBRL DOCUMENT v3.22.4
ACCOUNTS RECEIVABLE
12 Months Ended
Dec. 31, 2022
ACCOUNTS RECEIVABLE  
ACCOUNTS RECEIVABLE

7. ACCOUNTS RECEIVABLE

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

​

​

​

​

​

​

​

​

​

December 31, 

​

December 31, 

​

​

2022

​

2021

Trade receivables

​

$

40,121

​

$

47,352

Allowance for doubtful accounts

​

​

(1,640)

​

​

(665)

Total accounts receivable

​

$

38,481

​

$

46,687

​

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

​

​

​

​

​

​

​

​

​

December 31, 

​

December 31, 

​

​

2022

​

2021

Balance at beginning of period

​

$

665

​

$

500

Provision for uncollectible accounts, net of recoveries

​

​

1,393

​

​

447

Uncollectible accounts written off

​

​

(418)

​

​

(282)

Balance at end of period

​

$

1,640

​

$

665

​