v3.19.2
Commitments and Contingencies - Additional Information (Details) - USD ($)
1 Months Ended 6 Months Ended
Jan. 31, 2017
Jun. 30, 2019
Oct. 31, 2018
Feb. 28, 2017
Indemnification Agreement        
Loss Contingencies [Line Items]        
Liabilities recorded   $ 0    
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”), which was amended in March 2016 and again in February 2017. The agreement will continue indefinitely until terminated by either party. Under the February 2017 addendum to the agreement, we committed to spend $1.0 billion between January 2017 and December 2021. That addendum was amended in October 2018, and we are now 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 addendum term, although it will not count towards meeting the future minimum purchase commitments under the addendum.    
Minimum purchase commitment to spend between January 2017 and December 2021       $ 1,000,000,000.0
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