Fair Value Measurements - Summary of Fair Value, by Balance Sheet Grouping (Detail) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 |
Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | $ 19,569 | $ 9,562 |
Total financial assets | 19,569 | 9,562 |
Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 993 | |
Total financial assets | 424,390 | 397,658 |
Total financial liabilities | 2,029 | 1,477 |
Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 423,100 | 397,605 |
Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 20,562 | 9,562 |
Total financial assets | 443,959 | 407,220 |
Total financial liabilities | 2,029 | 1,477 |
Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 423,100 | 397,605 |
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 | 34 | 20 |
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 | 34 | 20 |
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 | 251 | 21 |
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 | 251 | 21 |
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,524 | 1,098 |
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,524 | 1,098 |
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 | 505 | 379 |
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 | 505 | 379 |
Money market funds | Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 19,569 | 9,562 |
Money market funds | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 19,569 | 9,562 |
Bank deposits | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 105,205 | 96,034 |
Bank deposits | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 105,205 | 96,034 |
Certificates of deposit | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 2,402 | 2,153 |
Certificates of deposit | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 2,402 | 2,153 |
Commercial paper | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 33,833 | 38,029 |
Commercial paper | Level 2 | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 993 | |
Commercial paper | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 33,833 | 38,029 |
Commercial paper | Fair Value | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 993 | |
Corporate debt securities | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 129,270 | 136,373 |
Corporate debt securities | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 129,270 | 136,373 |
Municipal securities | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 35,213 | 38,344 |
Municipal securities | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 35,213 | 38,344 |
Government and agency debt | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 117,177 | 86,672 |
Government and agency debt | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | $ 117,177 | $ 86,672 |