XML 63 R52.htm IDEA: XBRL DOCUMENT v3.22.0.1
Convertible Notes - Summary of Convertible Debt (Details) - Convertible Debt - Convertible Senior Notes Due 2025 - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Nov. 30, 2020
Debt Instrument [Line Items]      
Principal amount of convertible notes $ 265,000 $ 280,000  
Unamortized debt discount and issuance costs (6,720) (100,633)  
Net carrying amount of the convertible notes $ 258,280 $ 179,367 $ 177,600