Commitments and Contingencies - Additional Information (Details) - USD ($) |
1 Months Ended | 3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|---|
Jan. 31, 2017 |
Dec. 31, 2019 |
Dec. 31, 2019 |
Jan. 17, 2020 |
Oct. 31, 2018 |
|
| Indemnification Agreement | |||||
| Loss Contingencies [Line Items] | |||||
| Liabilities recorded | $ 0 | $ 0 | |||
| Securities Class Actions | |||||
| Loss Contingencies [Line Items] | |||||
| Legal expense, net of amounts directly covered by insurance | $ 100,000,000.0 | ||||
| Securities Class Actions | Pending Litigation | Subsequent Event | |||||
| Loss Contingencies [Line Items] | |||||
| Loss contingency, expected settlement amount | $ 187,500,000 | ||||
| Google Cloud Platform License Agreement | |||||
| Loss Contingencies [Line Items] | |||||
| Purchase commitment, description | The agreement has an initial term of five years and we are required to purchase at least $400.0 million of cloud services in each year of the agreement. For each of the first four years, up to 15% of this amount may be moved to a subsequent year. If we fail to meet the minimum purchase commitment during any year, we are required to pay the difference. | ||||
| Initial term of agreement | 5 years | ||||
| Minimum amount of services to be purchased in each year | $ 400,000,000.0 | ||||
| Initial period required to purchase minimum amount of services | 4 years | ||||
| Google Cloud Platform License Agreement | Maximum | |||||
| Loss Contingencies [Line Items] | |||||
| Purchase commitment, percentage of minimum purchase requirement that can be moved to subsequent year | 15.00% | ||||
| AWS Enterprise Agreement, Cloud Services | |||||
| Loss Contingencies [Line Items] | |||||
| Purchase commitment, description | In March 2016, we entered into the AWS Enterprise Agreement for the use of cloud services from Amazon Web Services, Inc. (“AWS”). Under the agreement, as amended, we are committed to spend an aggregate of $1.1 billion between January 2017 and December 2022 on AWS services ($90.0 million in 2018, $150.0 million in 2019, $215.0 million in 2020, $280.0 million in 2021, and $349.0 million in 2022). If we fail to meet the minimum purchase commitment during any year, we are required to pay the difference. Any such payment may be applied to future use of AWS services during the term, although it will not count towards meeting the future minimum purchase commitments. | ||||
| Minimum purchase commitment to spend between January 2017 and December 2022 | $ 1,100,000,000 | ||||
| Minimum purchase commitment, due in 2018 | 90,000,000.0 | ||||
| Minimum purchase commitment, due in 2019 | 150,000,000.0 | ||||
| Minimum purchase commitment, due in 2020 | 215,000,000.0 | ||||
| Minimum purchase commitment, due in 2021 | 280,000,000.0 | ||||
| Minimum purchase commitment, due in 2022 | $ 349,000,000.0 |