XML 37 R23.htm IDEA: XBRL DOCUMENT v3.22.0.1
Summary of Significant Accounting Policies (Tables)
12 Months Ended
Dec. 31, 2021
Summary Of Significant Accounting Policies [Line Items]  
Schedule of reconciliation of restricted cash

December 31,

December 31,

    

2021

    

2020

(in thousands)

Cash and cash equivalents in balance sheet

$

84,386

$

48,668

Restricted cash, current portion in balance sheet

228

187

Total cash, cash equivalents and restricted cash in statements of cash flows

$

84,614

$

48,855

Schedule of allowances for credit losses related to trade accounts receivable and other receivables

    

December 31, 

2021

(in thousands)

Beginning balance

$

4,220

Provision for credit losses

(156)

Write-offs

(1,635)

Total

$

2,429

Schedule of allowances for credit losses

December 31, 

December 31, 

December 31, 

2021

2020

2019

(in thousands)

Beginning balance

$

4,220

$

2,919

$

1,788

Cumulative-effect adjustment upon adoption of ASU 2016-13

404

Provision for credit losses

(156)

1,354

1,141

Write offs

(1,635)

(457)

(10)

Ending balance

$

2,429

$

4,220

$

2,919

Schedule of Accumulated Other Comprehensive Income (Loss)

December 31,

2021

2020

(in thousands)

Beginning balance

$

4,259

$

919

Net unrealized gains (losses) on available-for-sale securities, net of tax

(6,546)

3,340

Ending balance

$

(2,287)

$

4,259

Accounting Standards Update 2020-06  
Summary Of Significant Accounting Policies [Line Items]  
Schedule of new accounting pronouncements and changes in accounting principle

December 31, 

ASU 2020-06

January 1,

2020

Adoption Adjustment

2021

(in thousands)

Liabilities

Outstanding Principal

$

287,500

$

$

287,500

Unamortized debt discount and issuance cost

(85,007)

76,674

(8,333)

Net carrying amount

$

202,493

$

76,674

$

279,167

Equity

Additional paid-in-capital

$

(1,411,286)

$

82,876

$

(1,328,410)

Accumulated deficit

(929,318)

6,198

(923,120)