XML 47 R37.htm IDEA: XBRL DOCUMENT v3.21.2
ACCOUNTS RECEIVABLE (Tables)
9 Months Ended
Sep. 30, 2021
ACCOUNTS RECEIVABLE  
Schedule of accounts receivable

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

​

​

​

​

​

​

​

​

​

September 30, 

​

December 31, 

​

​

2021

​

2020

Trade receivables

​

$

23,257

​

$

7,016

Allowance for doubtful accounts

​

​

(379)

​

​

(500)

Total accounts receivable

​

$

22,878

​

$

6,516

Schedule of allowance for doubtful accounts

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

​

​

​

​

​

​

​

​

​

September 30, 

​

December 31, 

​

​

2021

​

2020

Balance at beginning of period

​

$

500

​

$

199

Provision for uncollectible accounts

​

​

(316)

​

​

377

Uncollectible accounts written off

​

​

195

​

​

(76)

Balance at end of period

​

$

379

​

$

500