Balance Sheet Components - Summary of Marketable Securities (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Debt Securities, Available-for-sale [Line Items] | ||
| Amortized Cost | $ 82,022 | $ 77,157 |
| Unrealized Gains | 19 | 0 |
| Unrealized Loss | (28) | (36) |
| Fair Value | 82,013 | 77,121 |
| Commercial paper | ||
| Debt Securities, Available-for-sale [Line Items] | ||
| Amortized Cost | 63,483 | 50,954 |
| Unrealized Gains | 0 | 0 |
| Unrealized Loss | 0 | 0 |
| Fair Value | 63,483 | 50,954 |
| Agency debt securities | ||
| Debt Securities, Available-for-sale [Line Items] | ||
| Amortized Cost | 5,762 | |
| Unrealized Gains | 17 | |
| Unrealized Loss | 0 | |
| Fair Value | 5,779 | |
| U.S. Treasury and government debt securities | ||
| Debt Securities, Available-for-sale [Line Items] | ||
| Amortized Cost | 12,777 | 26,203 |
| Unrealized Gains | 2 | 0 |
| Unrealized Loss | (28) | (36) |
| Fair Value | $ 12,751 | $ 26,167 |