XML 61 R52.htm IDEA: XBRL DOCUMENT v3.22.2
Debt - Schedule of Convertible Notes (Detail) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]    
Net carrying amount $ 0 $ 199,705
Net carrying amount 304,676 0
Convertible Senior Notes Due in 2024 [Member]    
Debt Instrument [Line Items]    
Principal 81,754 230,000
Less: unamortized debt discount 0 27,022
Less: unamortized debt issuance costs 1,243 3,273
Net carrying amount   199,705
Net carrying amount 80,511  
Convertible senior notes due in 2027 [Member]    
Debt Instrument [Line Items]    
Principal 230,000 0
Less: unamortized debt discount 0 0
Less: unamortized debt issuance costs 5,835 0
Net carrying amount   $ 0
Net carrying amount $ 224,165