Fair Value Measurements - Schedule of Fair Value of Financial Assets Measured on a Recurring Basis (Details) - Recurring - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | $ 136,377 | $ 48,833 |
Short-term investments: | 995 | 27,114 |
Total assets | 137,372 | 75,947 |
U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 5,970 |
U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 995 | |
Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 19,782 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 798 |
Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 564 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 115,930 | 48,833 |
Short-term investments: | 0 | 0 |
Total assets | 115,930 | 48,833 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 20,447 | 0 |
Short-term investments: | 995 | 27,114 |
Total assets | 21,442 | 27,114 |
Significant Other Observable Inputs (Level 2) | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 5,970 |
Significant Other Observable Inputs (Level 2) | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 995 | |
Significant Other Observable Inputs (Level 2) | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 19,782 |
Significant Other Observable Inputs (Level 2) | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 798 |
Significant Other Observable Inputs (Level 2) | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 564 |
Significant Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | 0 |
Short-term investments: | 0 | 0 |
Total assets | 0 | 0 |
Significant Unobservable Inputs (Level 3) | U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Significant Unobservable Inputs (Level 3) | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Significant Unobservable Inputs (Level 3) | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Significant Unobservable Inputs (Level 3) | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Significant Unobservable Inputs (Level 3) | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | | 0 |
Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 115,930 | 48,833 |
Money market funds | Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 115,930 | 48,833 |
Money market funds | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | 0 |
Money market funds | Significant Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | $ 0 |
U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 4,714 | |
U.S. Treasury securities | Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
U.S. Treasury securities | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 4,714 | |
U.S. Treasury securities | Significant Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 1,994 | |
U.S. government agency bonds | Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
U.S. government agency bonds | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 1,994 | |
U.S. government agency bonds | Significant Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 13,739 | |
Commercial paper | Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
Commercial paper | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 13,739 | |
Commercial paper | Significant Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | $ 0 | |