XML 21 R11.htm IDEA: XBRL DOCUMENT v3.22.2
Cash, Cash Equivalents and Restricted Cash
6 Months Ended
Jun. 30, 2022
Short-Term Investments And Fair Value Measurement [Abstract]  
Cash, Cash Equivalents and Restricted Cash Cash, Cash Equivalents and Restricted Cash
The following tables summarize the Company's cash, cash equivalents, and restricted cash as of June 30, 2022 and December 31, 2021:

 As of June 30, 2022
 Cash and cash equivalentsOther Current AssetsNon-current AssetsTotal
 (in thousands)
Cash$4,655,513 $904 $23,910 $4,680,327 
Level 1 securities:
Money market funds1,163,936 — 146 1,164,082 
$5,819,449 $904 $24,056 $5,844,409 

 As of December 31, 2021
 Cash and cash equivalentsOther Current AssetsNon-current AssetsTotal
 (in thousands)
Cash$4,103,613 $3,189 $23,972 $4,130,774 
Level 1 securities:
Money market funds1,924,191 — 146 1,924,337 
$6,027,804 $3,189 $24,118 $6,055,111 
Other current assets include restricted cash for deposits related to self insurance. Non-current assets include restricted cash related to letter of credit agreements.
There were no material gross realized gains or losses in the three and six months ended June 30, 2022 or 2021.