Fair Value Measurements - Summary of Fair Value, by Balance Sheet Grouping (Detail) - USD ($) $ in Thousands | Mar. 31, 2022 | Dec. 31, 2021 |
Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | $ 9,585 | $ 21,670 |
Total financial assets | 9,585 | 21,670 |
Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,998 | 175 |
Total financial assets | 370,730 | 354,209 |
Total financial liabilities | 169 | 21 |
Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 368,073 | 352,844 |
Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 11,583 | 21,845 |
Total financial assets | 380,315 | 375,879 |
Total financial liabilities | 169 | 21 |
Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 368,073 | 352,844 |
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 | 13 | 13 |
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 | 13 | 13 |
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 | 272 | 891 |
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 | 272 | 891 |
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 | 134 | 43 |
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 | 134 | 43 |
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 | 161 | 16 |
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 | 161 | 16 |
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 | 8 | 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 | 8 | 5 |
Bank deposits | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 85,191 | 90,704 |
Bank deposits | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 85,191 | 90,704 |
Money market funds | Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 9,585 | 21,670 |
Money market funds | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 9,585 | 21,670 |
Commercial paper | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,998 | |
Commercial paper | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 55,183 | 56,411 |
Commercial paper | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,998 | |
Commercial paper | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 55,183 | 56,411 |
Corporate debt securities | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 119,089 | 109,062 |
Corporate debt securities | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 119,089 | 109,062 |
Municipal securities | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 175 |
Municipal securities | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 70,732 | 70,996 |
Municipal securities | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 175 |
Municipal securities | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 70,732 | 70,996 |
Government and agency debt | Level 2 | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 37,878 | 25,671 |
Government and agency debt | Fair Value | Short-term Investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 37,878 | 25,671 |
Other Noncurrent Assets [Member] | Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Restricted bank deposits included in assets | 240 | 243 |
Other Noncurrent Assets [Member] | Fair Value | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Restricted bank deposits included in assets | $ 240 | $ 243 |