v3.25.0.1
Fair Value of Financial Instruments - Schedule of Fair Value of Financial Assets and Liabilities (Detail) - USD ($)
$ in Thousands
Dec. 31, 2024
Dec. 31, 2023
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of cash and cash equivalents $ 64,109 $ 20,003
Investment, Type [Extensible Enumeration] Money Market Funds [Member] Money Market Funds [Member]
Fair value of short and long term investments $ 1,711,040 $ 1,325,948
Fair value of restricted cash 4,053 4,053
Fair value of financial assets 1,791,819 1,371,646
Fair value of financial liabilities 584  
Fair Value, Inputs, Level 1 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of cash and cash equivalents $ 64,109 $ 20,003
Investment, Type [Extensible Enumeration] Money Market Funds [Member] Money Market Funds [Member]
Fair value of financial assets $ 64,109 $ 20,003
Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investment, Type [Extensible Enumeration] Money Market Funds [Member] Money Market Funds [Member]
Fair value of restricted cash $ 4,053 $ 4,053
Fair value of financial assets 1,718,301 1,338,484
Fair value of financial liabilities 584  
Fair Value, Inputs, Level 3 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 9,409 13,159
Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 4,941 13,504
Commercial Paper [Member] | Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 4,941 13,504
Corporate Bonds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 284,575 237,406
Corporate Bonds [Member] | Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 284,575 237,406
U.S. Government Agency Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 117,369 122,758
U.S. Government Agency Securities [Member] | Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 117,369 122,758
US Treasury Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 1,307,363 960,763
US Treasury Securities [Member] | Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 1,307,363 960,763
Strategic Investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 9,409 13,159
Strategic Investments [Member] | Fair Value, Inputs, Level 3 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of short and long term investments 9,409 $ 13,159
Foreign Currency Derivative Liabilities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of accrued expenses and other current liabilities 584  
Foreign Currency Derivative Liabilities [Member] | Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of accrued expenses and other current liabilities $ 584