Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Recurring Basis (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Dec. 31, 2021 |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Total cash equivalents and investments | $ 96,210 | $ 116,747 |
Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 46,085 | 46,221 |
Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 5,805 | 32,459 |
Money Market Funds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Cash equivalents, fair value | 44,320 | 38,067 |
Commercial Paper | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 33,973 |
Corporate Bond | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 14,471 | 6,262 |
Corporate Bond | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 8,436 |
US Treasury Securities | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 31,614 | 5,986 |
US Treasury Securities | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 5,805 | 24,023 |
Fair Value Recurring | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Cash equivalents, fair value | 44,320 | 38,067 |
Total cash equivalents and investments | 96,210 | 116,747 |
Fair Value Recurring | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 46,085 | 46,221 |
Fair Value Recurring | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 5,805 | 32,459 |
Fair Value Recurring | Level 1 | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Cash equivalents, fair value | 44,320 | 38,067 |
Total cash equivalents and investments | 96,210 | 82,774 |
Fair Value Recurring | Level 1 | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 46,085 | 12,248 |
Fair Value Recurring | Level 1 | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 5,805 | 32,459 |
Fair Value Recurring | Level 2 | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Total cash equivalents and investments | | 33,973 |
Fair Value Recurring | Level 2 | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 33,973 |
Fair Value Recurring | Money Market Funds | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Cash equivalents, fair value | 44,320 | 38,067 |
Fair Value Recurring | Money Market Funds | Level 1 | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Cash equivalents, fair value | 44,320 | 38,067 |
Fair Value Recurring | Commercial Paper | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 33,973 |
Fair Value Recurring | Commercial Paper | Level 2 | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 33,973 |
Fair Value Recurring | Corporate Bond | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 14,471 | 6,262 |
Fair Value Recurring | Corporate Bond | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 8,436 |
Fair Value Recurring | Corporate Bond | Level 1 | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 14,471 | 6,262 |
Fair Value Recurring | Corporate Bond | Level 1 | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | | 8,436 |
Fair Value Recurring | US Treasury Securities | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 31,614 | 5,986 |
Fair Value Recurring | US Treasury Securities | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 5,805 | 24,023 |
Fair Value Recurring | US Treasury Securities | Level 1 | Short Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | 31,614 | 5,986 |
Fair Value Recurring | US Treasury Securities | Level 1 | Long Term Investments | | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | | |
Available for sale, fair value | $ 5,805 | $ 24,023 |