| Schedule of Fair Value Hierarchy for Financial Assets and Liabilities Measured at Fair Value |
The following table summarizes the Company’s financial assets and liabilities measured at fair value on a recurring basis (in thousands): | | | | | | | | | | | | | | | | As of December 31, 2021 | | Level 1 | Level 2 | Level 3 | Total | | Assets | | | | | | Cash equivalents: | | | | | | Money market funds | $ | 1,923,184 | | $ | — | | $ | — | | $ | 1,923,184 | | | Certificates of deposit | 31,117 | | — | | — | | 31,117 | | | | | | | | Commercial paper | — | | 163,959 | | — | | 163,959 | | | Corporate debt securities | — | | 41,439 | | — | | 41,439 | | | 1,954,301 | | 205,398 | | — | | 2,159,699 | | | Marketable securities: | | | | | | Certificates of deposit | 364,234 | | — | | — | | 364,234 | | | U.S. government and government agency debt securities | — | | 863 | | — | | 863 | | | Commercial paper | — | | 993,004 | | — | | 993,004 | | | Corporate debt securities | — | | 862,901 | | — | | 862,901 | | | Mortgage-backed and asset-backed securities | — | | 34,036 | | — | | 34,036 | | | | | | | | 364,234 | | 1,890,804 | | — | | 2,255,038 | | | Funds receivable and amounts held on behalf of customers: | | | | | | Money market funds | 466,319 | | — | | — | | 466,319 | | | | | | | | Prepaids and other current assets: | | | | | | Foreign exchange derivative assets | — | | 25,918 | | — | | 25,918 | | | Other assets, noncurrent: | | | | | | Corporate debt securities | — | | — | | 10,451 | | 10,451 | | | Total assets at fair value | $ | 2,784,854 | | $ | 2,122,120 | | $ | 10,451 | | $ | 4,917,425 | | | Liabilities | | | | | | Accrued expenses and other current liabilities: | | | | | | Foreign exchange derivative liabilities | $ | — | | $ | 10,280 | | $ | — | | $ | 10,280 | | | | | | | | Total liabilities at fair value | $ | — | | $ | 10,280 | | $ | — | | $ | 10,280 | |
| | | | | | | | | | | | | | | | As of March 31, 2022 | | Level 1 | Level 2 | Level 3 | Total | | Assets | | | | | | Cash equivalents: | | | | | | Money market funds | $ | 2,484,384 | | $ | — | | $ | — | | $ | 2,484,384 | | | Certificates of deposit | 60,919 | | — | | — | | 60,919 | | | | | | | | Commercial paper | — | | 265,857 | | — | | 265,857 | | | Corporate debt securities | — | | 35,914 | | — | | 35,914 | | | 2,545,303 | | 301,771 | | — | | 2,847,074 | | | Marketable securities: | | | | | | Certificates of deposit | 472,750 | | — | | — | | 472,750 | | | U.S. government and government agency debt securities | — | | 350,450 | | — | | 350,450 | | | Commercial paper | — | | 838,815 | | — | | 838,815 | | | Corporate debt securities | — | | 741,971 | | — | | 741,971 | | | Mortgage-backed and asset-backed securities | — | | 31,675 | | — | | 31,675 | | | 472,750 | | 1,962,911 | | — | | 2,435,661 | | | Funds receivable and amounts held on behalf of customers: | | | | | | Money market funds | 1,203,019 | | — | | — | | 1,203,019 | | | U.S. government and government agency debt securities | — | | 113,981 | | — | | 113,981 | | | Prepaids and other current assets: | | | | | | Foreign exchange derivative assets | — | | 16,129 | | — | | 16,129 | | | Other assets, noncurrent: | | | | | | Corporate debt securities | — | | — | | 10,511 | | 10,511 | | | Total assets at fair value | $ | 4,221,072 | | $ | 2,394,792 | | $ | 10,511 | | $ | 6,626,375 | | | Liabilities | | | | | | Accrued expenses and other current liabilities: | | | | | | Foreign exchange derivative liabilities | $ | — | | $ | 24,452 | | $ | — | | $ | 24,452 | | | Total liabilities at fair value | $ | — | | $ | 24,452 | | $ | — | | $ | 24,452 | |
|