v3.22.0.1
Summary of Significant Accounting Policies - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Accounting Policies [Abstract]        
Cash and cash equivalents $ 6,067,438 $ 5,480,557 $ 2,013,547  
Cash and cash equivalents included in funds receivable and amounts held on behalf of customers 3,645,087 2,153,849 3,129,781  
Restricted cash 14,764 33,846 115  
Total cash, cash equivalents, and restricted cash presented in the consolidated statements of cash flows $ 9,727,289 $ 7,668,252 $ 5,143,443 $ 4,438,576