Fair Value Measurements - Summary of Fair Value by Balance Sheet Grouping (Detail) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | $ 274,593 | $ 379,133 |
Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 174,364 | 40,646 |
Total financial assets | 174,364 | 40,646 |
Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | 274,593 | 379,133 |
Total financial assets | 274,675 | 386,067 |
Total financial liabilities | 1,380 | 57 |
Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 174,364 | 46,144 |
Marketable securities | 274,593 | 379,133 |
Total financial assets | 449,039 | 426,713 |
Total financial liabilities | 1,380 | 57 |
Prepaid Expenses and Other Current Assets [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Restricted bank deposits included in assets | 12 | 12 |
Prepaid Expenses and Other Current Assets [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Restricted bank deposits included in assets | 12 | 12 |
Prepaid Expenses and Other Current Assets [Member] | Designated as Hedging Instrument [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contract, asset, fair value disclosure | 52 | 1,189 |
Prepaid Expenses and Other Current Assets [Member] | Designated as Hedging Instrument [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contract, asset, fair value disclosure | 52 | 1,189 |
Prepaid Expenses and Other Current Assets [Member] | Not Designated as Hedging Instrument [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contract, asset, fair value disclosure | 18 | 235 |
Prepaid Expenses and Other Current Assets [Member] | Not Designated as Hedging Instrument [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contract, asset, fair value disclosure | 18 | 235 |
Accrued Expenses And Other Current Liabilites [Member] | Designated as Hedging Instrument [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contracts, liability, fair value disclosure | 1,078 | 52 |
Accrued Expenses And Other Current Liabilites [Member] | Designated as Hedging Instrument [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contracts, liability, fair value disclosure | 1,078 | 52 |
Accrued Expenses And Other Current Liabilites [Member] | Not Designated as Hedging Instrument [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contracts, liability, fair value disclosure | 302 | 5 |
Accrued Expenses And Other Current Liabilites [Member] | Not Designated as Hedging Instrument [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Foreign currency contracts, liability, fair value disclosure | 302 | 5 |
Money market funds | Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 174,364 | 40,646 |
Money market funds | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 174,364 | 40,646 |
Certificates of deposit | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 504 | 2,434 |
Certificates of deposit | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 504 | 2,434 |
Commercial paper | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 5,314 | 8,921 |
Commercial paper | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 5,314 | 8,921 |
Corporate debt securities | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 104,349 | 162,447 |
Corporate debt securities | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 104,349 | 162,447 |
Municipal securities | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 20,358 | 22,236 |
Municipal securities | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 20,358 | 22,236 |
Government and agency debt | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | 144,068 | 183,095 |
Government and agency debt | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | $ 144,068 | $ 183,095 |