Investments - Investments Measured at Fair Value on Recurring Basis (Detail) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022 |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Fair Value | $ 378,841 | $ 386,183 |
Fair Value Measurements on Recurring Basis | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Cash equivalents, Amortized Cost | | 47,834 |
Cash equivalents, Fair Value | | 47,834 |
Short-term investments, Amortized Cost | 384,737 | 394,215 |
Short-term investments, Unrealized Gains | 108 | 27 |
Short-term investments, Unrealized Losses | (6,004) | (8,059) |
Short-term investments, Fair Value | 378,841 | 386,183 |
Cash equivalents and Short-term investments, Amortized Cost | 411,456 | 442,049 |
Cash equivalents and Short-term investments, Unrealized Gains | 108 | 27 |
Cash equivalents and Short-term investments, Unrealized Losses | (6,004) | (8,059) |
Cash equivalents and Short-term investments, Estimated Fair Value | 405,560 | 434,017 |
Fair Value Measurements on Recurring Basis | Money Market Funds | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Cash equivalents, Amortized Cost | 26,719 | 37,878 |
Cash equivalents, Fair Value | $ 26,719 | $ 37,878 |
Fair Value Measurements on Recurring Basis | Money Market Funds | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | 1 year | 1 year |
Fair Value Measurements on Recurring Basis | U.S. Treasury Securities | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Amortized Cost | $ 166,018 | $ 183,051 |
Short-term investments, Unrealized Gains | 25 | 16 |
Short-term investments, Unrealized Losses | (2,224) | (3,018) |
Short-term investments, Fair Value | $ 163,819 | $ 180,049 |
Fair Value Measurements on Recurring Basis | U.S. Treasury Securities | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | 2 years | 2 years |
Fair Value Measurements on Recurring Basis | Corporate Debt Securities | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Amortized Cost | $ 106,668 | $ 115,763 |
Short-term investments, Unrealized Gains | 20 | |
Short-term investments, Unrealized Losses | (2,989) | (3,931) |
Short-term investments, Fair Value | $ 103,699 | $ 111,832 |
Fair Value Measurements on Recurring Basis | Corporate Debt Securities | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | 2 years | 2 years |
Fair Value Measurements on Recurring Basis | Commercial Paper | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Amortized Cost | $ 63,003 | $ 52,941 |
Short-term investments, Fair Value | $ 63,003 | $ 52,941 |
Fair Value Measurements on Recurring Basis | Commercial Paper | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | 1 year | 1 year |
Fair Value Measurements on Recurring Basis | U.S. Agency Bonds | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Cash equivalents, Amortized Cost | | $ 9,956 |
Cash equivalents, Fair Value | | 9,956 |
Short-term investments, Amortized Cost | $ 30,790 | 16,192 |
Short-term investments, Unrealized Gains | 63 | 11 |
Short-term investments, Unrealized Losses | (69) | (160) |
Short-term investments, Fair Value | $ 30,784 | $ 16,043 |
Fair Value Measurements on Recurring Basis | U.S. Agency Bonds | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | | 1 year |
Maturities (years) | 1 year | 1 year |
Fair Value Measurements on Recurring Basis | Non U S Government And Supranational Debt Securities | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Amortized Cost | $ 18,258 | $ 26,268 |
Short-term investments, Unrealized Losses | (722) | (950) |
Short-term investments, Fair Value | $ 17,536 | $ 25,318 |
Fair Value Measurements on Recurring Basis | Non U S Government And Supranational Debt Securities | Maximum | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Maturities (years) | 2 years | 2 years |