v3.23.2
Common Stock - Schedule of Common Stock Reserved for Future Issuance (Details) - shares
shares in Thousands
Jun. 30, 2023
Dec. 31, 2022
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 108,948 97,579
Remaining shares available for issuance under the 2019 Plan    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 58,148 44,693
Stock options issued and outstanding    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 13,952 15,886
Outstanding and unsettled RSUs    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 11,257 10,196
Shares available for issuance under the Employee Stock Purchase Plan (ESPP)    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 14,042 10,990
Convertible Debt | 2025 Notes    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 1,238 5,503
Convertible Debt | 2026 Notes    
Class of Stock [Line Items]    
Shares of common stock reserved (in shares) 10,311 10,311