Net Loss per Share - Schedule of Potentially Dilutive Shares Excluded from Calculation of Diluted Net Loss per Share (Details) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Stock options | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) | 680 | 1,697 | 3,159 |
| Unvested RSUs and RSAs | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) | 134,253 | 157,130 | 132,392 |
| Convertible Notes (if-converted) | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) | 85,945 | 89,379 | 89,379 |