XML 88 R49.htm IDEA: XBRL DOCUMENT v3.22.4
Convertible Senior Notes and Capped Call Transactions - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
May 11, 2020
USD ($)
Dec. 31, 2022
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Jan. 01, 2022
USD ($)
Debt Instrument [Line Items]          
Proceeds from issuance of convertible senior notes, net of issuance costs   $ 0 $ 0 $ 245,308  
Payments for capped calls   0 0 $ 29,348  
Accumulated deficit   (543,474) (427,603)    
Additional paid-in capital   $ (1,055,048) (1,018,005)    
Cap price (in usd per share) | $ / shares   $ 47.24      
Cumulative Effect, Period of Adoption, Adjustment          
Debt Instrument [Line Items]          
Accumulated deficit         $ 8,647
Additional paid-in capital         30,794
Liabilities         $ 22,147
2025 Senior Notes          
Debt Instrument [Line Items]          
Fair value of the notes   $ 260,749      
Convertible Debt          
Debt Instrument [Line Items]          
Payments for capped calls $ 29,348        
Convertible Debt | 2025 Senior Notes          
Debt Instrument [Line Items]          
Principal 253,000        
Proceeds from issuance of convertible senior notes, net of issuance costs $ 245,158        
Interest rate, stated percentage 1.25%        
Debt instrument, convertible, conversion ratio   0.0325668      
Initial conversion price (in dollars per share) | $ / shares   $ 30.71      
Equity component, net of discount and issuance costs     31,779    
Debt issuance costs of liability component     $ 6,857    
Debt instrument, interest rate, effective percentage     4.51%   1.87%
Convertible Debt | 2025 Senior Notes | Additional paid-in capital          
Debt Instrument [Line Items]          
Debt issuance costs of equity component     $ 985