Fair Value Measurements - Summary of Fair Value by Balance Sheet Grouping (Detail) - USD ($) $ in Thousands | Mar. 31, 2024 | Dec. 31, 2023 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | $ 401,535 | $ 379,133 |
Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 32,037 | 40,646 |
Total financial assets | 32,037 | 40,646 |
Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | 401,535 | 379,133 |
Total financial assets | 402,248 | 386,067 |
Total financial liabilities | 702 | 57 |
Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 32,037 | 46,144 |
Marketable securities | 401,535 | 379,133 |
Total financial assets | 434,285 | 426,713 |
Total financial liabilities | 702 | 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 | 666 | 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 | 666 | 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 | 35 | 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 | 35 | 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 | 255 | 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 | 255 | 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 | 447 | 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 | 447 | 5 |
Money market funds | Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 32,037 | 40,646 |
Money market funds | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 32,037 | 40,646 |
Certificates of deposit | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 2,456 | 2,434 |
Certificates of deposit | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 2,456 | 2,434 |
Commercial paper | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 4,144 | 8,921 |
Commercial paper | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 4,144 | 8,921 |
Corporate debt securities | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 161,230 | 162,447 |
Corporate debt securities | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 161,230 | 162,447 |
Municipal securities | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 17,674 | 22,236 |
Municipal securities | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Marketable securities | 17,674 | 22,236 |
Government and agency debt | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | 216,031 | 183,095 |
Government and agency debt | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 5,498 |
Marketable securities | $ 216,031 | $ 183,095 |