XML 55 R37.htm IDEA: XBRL DOCUMENT v3.22.0.1
ACCOUNTS RECEIVABLE (Tables)
12 Months Ended
Dec. 31, 2021
ACCOUNTS RECEIVABLE  
Schedule of accounts receivable

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

​

​

​

​

​

​

​

​

​

​

​

December 31, 

​

​

​

2021

    

2020

Trade receivables

​

​

$

47,352

​

$

7,016

Allowance for doubtful accounts

​

​

​

(665)

​

​

(500)

Total accounts receivable

​

​

$

46,687

​

$

6,516

Schedule of allowance for doubtful accounts

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

​

​

​

​

​

​

​

​

​

​

​

Years Ended December 31, 

​

​

​

2021

​

2020

Balance at beginning of period

​

​

$

500

​

$

199

Provision for uncollectible accounts, net of recoveries

​

​

​

447

​

​

377

Uncollectible accounts written off

​

​

​

(282)

​

​

(76)

Balance at end of period

​

​

$

665

​

$

500