FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended |
Mar. 31, 2023 | Dec. 31, 2022 |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Cash and cash equivalents | $ 1,672,660 | $ 1,307,141 |
Short-term investments | 1,383,028 | 1,362,314 |
Investments | 41,152 | 61,443 |
Asset transfers between Level 1 and Level 2 measurements | 0 | 0 |
Total fair value | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Cash | 886,785 | 1,132,509 |
Foreign currency derivatives | 77 | (3,733) |
Assets measured at fair value | 3,096,917 | 2,727,165 |
Cash and cash equivalents | 1,672,660 | 1,307,141 |
Short-term investments | 1,383,028 | 1,362,314 |
Accounts receivable, net | 382 | 965 |
Investments | 41,152 | 61,443 |
Accrued liabilities | (305) | (4,698) |
Total fair value | Money market funds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 713,009 | 121,444 |
Total fair value | Certificates of deposit | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 41,050 | 10,078 |
Total fair value | Commercial paper | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 310,774 | 225,067 |
Total fair value | Variable rate demand notes | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | | 6,266 |
Total fair value | Municipal securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 129,574 | 213,798 |
Total fair value | Corporate bonds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 74,180 | |
Total fair value | U.S. government agency securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 151,678 | 113,357 |
Total fair value | U.S. treasuries | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 789,790 | 908,379 |
Level 1 | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Cash | 886,785 | 1,132,509 |
Foreign currency derivatives | 0 | 0 |
Assets measured at fair value | 1,599,794 | 1,253,953 |
Cash and cash equivalents | 1,599,794 | 1,253,953 |
Short-term investments | 0 | 0 |
Accounts receivable, net | 0 | 0 |
Investments | 0 | 0 |
Accrued liabilities | 0 | 0 |
Level 1 | Money market funds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 713,009 | 121,444 |
Level 1 | Certificates of deposit | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 1 | Commercial paper | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 1 | Municipal securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 1 | Corporate bonds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | |
Level 1 | U.S. government agency securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 1 | U.S. treasuries | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 2 | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Cash | 0 | 0 |
Foreign currency derivatives | 77 | (3,733) |
Assets measured at fair value | 1,497,123 | 1,473,212 |
Cash and cash equivalents | 72,866 | 53,188 |
Short-term investments | 1,383,028 | 1,362,314 |
Accounts receivable, net | 382 | 965 |
Investments | 41,152 | 61,443 |
Accrued liabilities | (305) | (4,698) |
Level 2 | Money market funds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 2 | Certificates of deposit | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 41,050 | 10,078 |
Level 2 | Commercial paper | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 310,774 | 225,067 |
Level 2 | Variable rate demand notes | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | | 6,266 |
Level 2 | Municipal securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 129,574 | 213,798 |
Level 2 | Corporate bonds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 74,180 | |
Level 2 | U.S. government agency securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 151,678 | 113,357 |
Level 2 | U.S. treasuries | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 789,790 | 908,379 |
Level 3 | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Cash | 0 | 0 |
Foreign currency derivatives | 0 | 0 |
Assets measured at fair value | 0 | 0 |
Cash and cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Accounts receivable, net | 0 | 0 |
Investments | 0 | 0 |
Accrued liabilities | 0 | 0 |
Level 3 | Money market funds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 3 | Certificates of deposit | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 3 | Commercial paper | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 3 | Municipal securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 3 | Corporate bonds | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | |
Level 3 | U.S. government agency securities | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | 0 | 0 |
Level 3 | U.S. treasuries | | |
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES | | |
Assets measured at fair value | $ 0 | $ 0 |