Net Income (Loss) per Share - Schedule of Potentially Dilutive Shares Excluded from Calculation of Diluted Net Loss per Share (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
Sep. 30, 2026 |
Sep. 30, 2025 |
|
| 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) | 466 | 577 | 466 | 577 |
| 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) | 130,519 | 149,716 | 220,111 | 149,716 |
| Convertible senior notes | ||||
| 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) | 44,131 | 46,193 | 44,131 | 46,193 |