Investments - Investments Measured at Fair Value on Recurring Basis (Detail) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 |
Schedule Of Available For Sale Securities [Line Items] | | |
Short-term investments, Fair Value | $ 427,855 | $ 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 | 433,077 | 394,215 |
Short-term investments, Unrealized Gains | 22 | 27 |
Short-term investments, Unrealized Losses | (5,244) | (8,059) |
Short-term investments, Fair Value | 427,855 | 386,183 |
Cash equivalents and Short-term investments, Amortized Cost | 471,537 | 442,049 |
Cash equivalents and Short-term investments, Unrealized Gains | 22 | 27 |
Cash equivalents and Short-term investments, Unrealized Losses | (5,244) | (8,059) |
Cash equivalents and Short-term investments, Estimated Fair Value | 466,315 | 434,017 |
Fair Value Measurements on Recurring Basis | Money Market Funds | | |
Schedule Of Available For Sale Securities [Line Items] | | |
Cash equivalents, Amortized Cost | 38,460 | 37,878 |
Cash equivalents, Fair Value | $ 38,460 | $ 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 | $ 244,260 | $ 183,051 |
Short-term investments, Unrealized Gains | 5 | 16 |
Short-term investments, Unrealized Losses | (2,035) | (3,018) |
Short-term investments, Fair Value | $ 242,230 | $ 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 | $ 92,723 | $ 115,763 |
Short-term investments, Unrealized Losses | (2,509) | (3,931) |
Short-term investments, Fair Value | $ 90,214 | $ 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 | $ 55,780 | $ 52,941 |
Short-term investments, Unrealized Losses | (45) | |
Short-term investments, Fair Value | $ 55,735 | $ 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 | $ 22,060 | 16,192 |
Short-term investments, Unrealized Gains | 17 | 11 |
Short-term investments, Unrealized Losses | (15) | (160) |
Short-term investments, Fair Value | $ 22,062 | $ 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,254 | $ 26,268 |
Short-term investments, Unrealized Losses | (640) | (950) |
Short-term investments, Fair Value | $ 17,614 | $ 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) | 1 year | 2 years |