XML 32 R21.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies (Tables)
6 Months Ended
Jun. 30, 2022
Summary of Significant Accounting Policies  
Schedule of allowances for credit losses related to trade accounts receivable and other receivables

The following is a roll-forward of the allowances for credit losses related to trade accounts receivable and other receivables for the three and six months ended June 30, 2022 and 2021:

​

​

​

​

​

​

​

​

​

​

Three Months Ended

​

    

June 30, 

​

​

2022

​

​

2021

​

​

​

(in thousands)

Beginning balance

​

$

2,392

​

$

4,110

Provision for credit losses

​

​

1,170

​

​

63

Write-offs

​

​

(1)

​

​

(385)

Total

​

$

3,561

​

$

3,788

​

​

​

​

​

​

​

​

​

​

Six Months Ended

​

    

June 30, 

​

​

2022

​

​

2021

​

​

​

(in thousands)

Beginning balance

​

$

2,429

​

$

4,220

Provision for credit losses

​

​

1,501

​

​

63

Write-offs

​

​

(369)

​

​

(495)

Total

​

$

3,561

​

$

3,788

Schedule of Accumulated Other Comprehensive Income (Loss)

​

​

​

​

​

​

​

​

​

​

​

​

​

Three months ended

​

Six months ended

​

June 30, 

​

June 30, 

​

2022

​

2021

​

2022

​

2021

​

(in thousands)

​

(in thousands)

Beginning balance

$

(13,904)

​

$

3,197

​

$

(2,287)

​

$

4,259

Net unrealized loss on available-for-sale securities, net of tax and foreign currency translation adjustment

​

(2,493)

​

​

(756)

​

​

(14,110)

​

​

(1,818)

Ending balance

$

(16,397)

​

$

2,441

​

$

(16,397)

​

$

2,441