v3.22.0.1
Long-Term Debt (Tables)
12 Months Ended
Dec. 31, 2021
Debt Disclosure [Abstract]  
Summary of Convertible Notes

The Convertible Notes consisted of the following:

 

 

As of

December 31, 2021

 

 

As of

December 31, 2020

 

 

2027 Notes

 

 

2025 Notes

 

 

2026 Notes

 

 

2025 Notes

 

 

2026 Notes

 

 

(in thousands)

 

Liability:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Principal

$

1,150,000

 

 

$

284,105

 

 

$

838,493

 

 

$

1,000,000

 

 

$

1,265,000

 

Unamortized debt discount and issuance costs(1)

 

(11,361

)

 

 

(2,168

)

 

 

(5,982

)

 

 

(263,956

)

 

 

(325,875

)

Net carrying amount

$

1,138,639

 

 

$

281,937

 

 

$

832,511

 

 

$

736,044

 

 

$

939,125

 

 

 

(1)

The 2020 amounts include unamortized debt discount expense prior to the adoption of ASU 2020-06 on January 1, 2021.