XML 51 R36.htm IDEA: XBRL DOCUMENT v3.23.2
ACCOUNTS RECEIVABLE (Tables)
6 Months Ended
Jun. 30, 2023
ACCOUNTS RECEIVABLE  
Schedule of accounts receivable

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

​

​

​

​

​

​

​

​

​

June 30, 

​

December 31, 

​

​

2023

​

2022

Trade receivables

​

$

43,837

​

$

40,121

Allowance for doubtful accounts

​

​

(2,602)

​

​

(1,640)

Total accounts receivable

​

$

41,235

​

$

38,481

Schedule of allowance for doubtful accounts

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

​

​

​

​

​

​

​

​

​

June 30, 

​

December 31, 

​

​

2023

​

2022

Balance at beginning of period

​

$

1,640

​

$

665

Provision for uncollectible accounts, net of recoveries

​

​

1,000

​

​

1,393

Uncollectible accounts written off

​

​

(38)

​

​

(418)

Balance at end of period

​

$

2,602

​

$

1,640