v3.24.0.1
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, 2023
Dec. 31, 2022
Dec. 31, 2021
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) 1,697 3,159 4,304
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) 157,130 132,392 86,180
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) 89,379 89,379 62,755