Stock-Based Compensation - Schedule of Stock-based Compensation (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2023 |
Sep. 30, 2022 |
Sep. 30, 2023 |
Sep. 30, 2022 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total Stock based compensation | $ 71 | $ 57 | $ 206 | $ 167 |
| Costs of revenue | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total Stock based compensation | 11 | 8 | 32 | 24 |
| Sales and marketing | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total Stock based compensation | 15 | 12 | 43 | 37 |
| Research and development | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total Stock based compensation | 23 | 18 | 69 | 52 |
| General and administrative | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total Stock based compensation | $ 22 | $ 19 | $ 62 | $ 54 |