XML 35 R21.htm IDEA: XBRL DOCUMENT v3.21.2
Summary of Significant Accounting Policies (Tables)
9 Months Ended
Sep. 30, 2021
Summary Of Significant Accounting Policies [Line Items]  
Schedule of allowances for credit losses

​

​

​

​

​

​

​

Nine Months Ended

​

    

September 30, 

​

​

2021

​

​

​

(in thousands)

Beginning balance

​

$

4,220

Provision for credit losses

​

​

380

Write-offs

​

​

(495)

Total

​

$

4,105

​

​

​

​

Schedule of Accumulated Other Comprehensive Income (Loss)

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three months ended

​

Nine months ended

​

September 30, 

​

September 30, 

​

2021

​

2020

​

2021

​

2020

​

(in thousands)

​

(in thousands)

Beginning balance

$

2,441

​

$

5,770

​

$

4,259

​

$

919

Net unrealized gain (loss) on available-for-sale securities, net of tax

​

(950)

​

​

(600)

​

​

(2,768)

​

​

4,251

Ending balance

$

1,491

​

$

5,170

​

$

1,491

​

$

5,170

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,872

​

$

(1,328,414)

Accumulated deficit

​

(929,318)

​

​

6,198

​

​

(923,120)