Financial Statement Components - Schedule of Cash and Cash Equivalents (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Dec. 31, 2023 |
Jun. 30, 2023 |
Dec. 31, 2022 |
|---|---|---|---|---|
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | $ 175,699 | $ 143,201 | $ 195,592 | $ 180,520 |
| Cash | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | 88,942 | 69,566 | ||
| Money market funds | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | 86,014 | 66,661 | ||
| Certificates of deposit | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | 498 | 493 | ||
| U.S. treasury securities | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | 0 | 4,983 | ||
| Commercial paper | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | 0 | 1,498 | ||
| Municipal bonds | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total cash and cash equivalents | $ 245 | $ 0 |