Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Recurring Basis (Details) - USD ($) $ in Thousands | Mar. 31, 2021 | Dec. 31, 2020 |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Aggregated Fair Value | $ 181,928 | $ 181,856 |
Recurring | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 181,924 | 181,848 |
Short-term investments, Gross Unrealized Holding Gains | 19 | 17 |
Short-term investments, Gross Unrealized Holding Losses | (15) | (9) |
Short-term investments, Aggregated Fair Value | 181,928 | 181,856 |
Recurring | Cash equivalents | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Aggregated Fair Value | 60,310 | 75,410 |
Recurring | Short-term available for sale securities | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Aggregated Fair Value | 121,618 | 106,446 |
Recurring | Level 1 | Money Market Funds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 53,011 | 46,134 |
Short-term investments, Aggregated Fair Value | 53,011 | 46,134 |
Recurring | Level 2 | Commercial Paper | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 74,420 | 76,605 |
Short-term investments, Gross Unrealized Holding Losses | (6) | (2) |
Short-term investments, Aggregated Fair Value | 74,414 | 76,603 |
Recurring | Level 2 | Agency bonds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 21,367 | 29,654 |
Short-term investments, Gross Unrealized Holding Gains | 14 | 15 |
Short-term investments, Aggregated Fair Value | 21,381 | 29,669 |
Recurring | Level 2 | Corporate Debt | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 18,794 | 11,890 |
Short-term investments, Gross Unrealized Holding Gains | 1 | |
Short-term investments, Gross Unrealized Holding Losses | (9) | (6) |
Short-term investments, Aggregated Fair Value | 18,786 | 11,884 |
Recurring | Level 2 | U.S. government bonds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 5,554 | 7,093 |
Short-term investments, Gross Unrealized Holding Gains | 2 | |
Short-term investments, Aggregated Fair Value | 5,556 | 7,093 |
Recurring | Level 2 | Non-US debt securities | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 2,537 | |
Short-term investments, Aggregated Fair Value | 2,537 | |
Recurring | Level 2 | Municipal Bonds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | 6,241 | 5,592 |
Short-term investments, Gross Unrealized Holding Gains | 2 | 2 |
Short-term investments, Gross Unrealized Holding Losses | | (1) |
Short-term investments, Aggregated Fair Value | $ 6,243 | 5,593 |
Recurring | Level 2 | U.S. treasury bills | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | | 4,680 |
Short-term investments, Aggregated Fair Value | | 4,680 |
Recurring | Level 2 | Agency discount securities | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Short-term investments, Amortized Cost | | 200 |
Short-term investments, Aggregated Fair Value | | $ 200 |