Fair Value Measurements - Financial Assets (Details) - USD ($) | Mar. 31, 2023 | Dec. 31, 2022 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | $ 33,603,000 | $ 35,796,000 |
Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 33,603,000 | 20,381,000 |
Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 6,024,000 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 9,391,000 |
Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 33,603,000 | 35,796,000 |
Marketable securities | 507,010,000 | 528,067,000 |
Total cash equivalents and marketable securities | 540,613,000 | 563,863,000 |
Fair Value, Recurring | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 45,990,000 | 44,550,000 |
Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 104,264,000 | 100,844,000 |
Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 175,238,000 | 278,054,000 |
Fair Value, Recurring | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 61,632,000 | 41,526,000 |
Fair Value, Recurring | U.S. Agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 102,994,000 | 46,410,000 |
Fair Value, Recurring | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 16,892,000 | 16,683,000 |
Fair Value, Recurring | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 33,603,000 | 20,381,000 |
Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 6,024,000 |
Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 9,391,000 |
Level 1 | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 33,603,000 | 20,381,000 |
Marketable securities | 0 | 0 |
Total cash equivalents and marketable securities | 33,603,000 | 20,381,000 |
Level 1 | Fair Value, Recurring | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | U.S. Agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 0 | 0 |
Level 1 | Fair Value, Recurring | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 33,603,000 | 20,381,000 |
Level 1 | Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Level 1 | Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Level 2 | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 15,415,000 |
Marketable securities | 507,010,000 | 528,067,000 |
Total cash equivalents and marketable securities | 507,010,000 | 543,482,000 |
Level 2 | Fair Value, Recurring | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 45,990,000 | 44,550,000 |
Level 2 | Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 104,264,000 | 100,844,000 |
Level 2 | Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 175,238,000 | 278,054,000 |
Level 2 | Fair Value, Recurring | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 61,632,000 | 41,526,000 |
Level 2 | Fair Value, Recurring | U.S. Agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 102,994,000 | 46,410,000 |
Level 2 | Fair Value, Recurring | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Marketable securities | 16,892,000 | 16,683,000 |
Level 2 | Fair Value, Recurring | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Level 2 | Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 6,024,000 |
Level 2 | Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 9,391,000 |
Level 3 | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total cash equivalents and marketable securities | $ 0 | $ 0 |