XML 74 R52.htm IDEA: XBRL DOCUMENT v3.25.0.1
Convertible Senior Notes and Capped Call Transactions - Narrative (Details)
12 Months Ended
Sep. 10, 2024
USD ($)
trading_day
$ / shares
May 11, 2020
USD ($)
$ / shares
Dec. 31, 2024
USD ($)
$ / shares
Dec. 31, 2023
USD ($)
$ / shares
Dec. 31, 2022
USD ($)
Sep. 30, 2024
$ / shares
Jan. 01, 2022
USD ($)
Debt Instrument [Line Items]              
Proceeds from issuance of convertible senior notes, net of issuance costs     $ 449,635,000 $ 0 $ 0    
Payments for capped calls     55,522,000 0 $ 0    
Accumulated deficit     (740,155,000) (644,390,000)      
Additional paid-in capital     (1,193,022,000) $ (1,142,578,000)      
Principal amount including additional purchases from exercised options     $ 711,494,000        
Common stock, par value (in usd per share) | $ / shares $ 0.001   $ 0.001 $ 0.001      
Cumulative Effect, Period of Adoption, Adjustment              
Debt Instrument [Line Items]              
Accumulated deficit             $ 8,647,000
Additional paid-in capital             30,794,000
Liabilities             $ 22,147,000
Convertible Debt              
Debt Instrument [Line Items]              
Payments for capped calls   $ 29,348,000          
2025 Notes              
Debt Instrument [Line Items]              
Payments for capped calls   $ 29,348,000          
Principal amount including additional purchases from exercised options     $ 251,494,000        
Fair value of the notes     374,412,000 $ 386,201,000      
Cap price (in usd per share) | $ / shares   $ 47.24          
2025 Notes | Convertible Debt              
Debt Instrument [Line Items]              
Principal   $ 253,000,000          
Proceeds from issuance of convertible senior notes, net of issuance costs   $ 245,158,000 $ 1,501,000        
Interest rate, stated percentage   1.25%          
Debt instrument, convertible, conversion ratio     0.0325668        
Initial conversion price (in dollars per share) | $ / shares     $ 30.71        
Principal amount including additional purchases from exercised options   $ 253,000,000          
Debt instrument, interest rate, effective percentage     1.87%        
2029 Notes              
Debt Instrument [Line Items]              
Payments for capped calls $ 55,522,000            
Principal amount including additional purchases from exercised options     $ 460,000,000        
Fair value of the notes     $ 431,851,000        
Cap price (in usd per share) | $ / shares $ 104.36            
2029 Notes | Convertible Debt              
Debt Instrument [Line Items]              
Principal $ 400,000            
Proceeds from issuance of convertible senior notes, net of issuance costs 449,635,000            
Payments for capped calls $ 55,522,000            
Interest rate, stated percentage 1.00%            
Debt instrument, convertible, conversion ratio     0.0147419        
Initial conversion price (in dollars per share) | $ / shares           $ 67.83  
Principal amount including additional purchases from exercised options $ 460,000            
Additional to aggregate principal amount $ 60,000            
Repurchase of notes percentage 100.00%            
Transaction costs $ 10,365,000            
Debt instrument, interest rate, effective percentage     1.46%        
2029 Notes | Convertible Debt | Debt Conversion, Option One              
Debt Instrument [Line Items]              
Threshold trading days | trading_day 20            
Threshold consecutive trading days | trading_day 30            
Threshold percentage of conversion price 130.00%            
2029 Notes | Convertible Debt | Debt Conversion, Option Two              
Debt Instrument [Line Items]              
Threshold consecutive trading days | trading_day 5            
Threshold percentage of conversion price 98.00%            
Threshold consecutive business days | trading_day 5