Fair Value of Financial Instruments | 4. Fair Value of Financial Instruments The Company measures certain financial assets at fair value. Fair value is determined based upon the exit price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants, as determined by either the principal market or the most advantageous market. Inputs used in the valuation techniques to derive fair values are classified based on a three-level hierarchy, as follows: • Level 1 — Quoted prices in active markets for identical assets or liabilities. • Level 2 — Observable inputs other than Level 1 prices such as quoted prices for similar assets or liabilities; quoted prices in markets with insufficient volume or infrequent transactions (less active markets); or model-derived valuations in which all significant inputs are observable or can be derived principally from or corroborated by observable market data for substantially the full term of the assets or liabilities. • Level 3 — Unobservable inputs to the valuation methodology that are significant to the measurement of fair value of assets or liabilities. The following table details the fair value measurements within the fair value hierarchy of the Company’s financial assets and liabilities at March 31, 2022 and December 31, 2021: March 31, 2022 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 100,250 $ — $ — $ 100,250 Commercial paper — 25,667 — 25,667 Corporate bonds — 252,545 — 252,545 U.S. Government agency securities — 28,528 — 28,528 U.S. Treasury securities — 714,754 — 714,754 Restricted cash: Money market funds — 3,029 — 3,029 Total $ 100,250 $ 1,024,523 $ — $ 1,124,773 December 31, 2021 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 125,940 $ — $ — $ 125,940 Commercial paper — 28,337 — 28,337 Corporate bonds — 249,846 — 249,846 U.S. Government agency securities — 22,466 — 22,466 U.S. Treasury securities — 698,300 — 698,300 Restricted cash: Money market funds — 3,029 — 3,029 Total $ 125,940 $ 1,001,978 $ — $ 1,127,918 The Company considers all highly liquid investments purchased with an original maturity of three months or less to be cash equivalents. The fair value of the Company’s investments in certain money market funds is their face value and such instruments are classified as Level 1 and are included in cash and cash equivalents on the consolidated balance sheets. At March 31, 2022 and December 31, 2021, Level 2 securities were priced by pricing vendors. These pricing vendors utilize the most recent observable market information in pricing these securities or, if specific prices are not available for these securities, use other observable inputs like market transactions involving identical or comparable securities. As of March 31, 2022, the fair value of the 2022 Notes was $ 96.9 million and the fair value of the 2025 Notes was $ 821.4 million . The fair value was determined based on the quoted price of the 2022 and 2025 Notes in an inactive market on the last trading day of the reporting period and has been classified as Level 2 within the fair value hierarchy. For certain other financial instruments, including accounts receivable, accounts payable, and other current liabilities, the carrying amounts approximate their fair value due to the relatively short maturity of these balances. Restricted cash is comprised of money market funds related to landlord guarantees for leased facilities. These restricted cash balances have been excluded from our cash and cash equivalents balance on our consolidated balance sheets. Strategic investments consist of non-controlling equity investments in privately held companies. The Company elected the measurement alternative for these investments without readily determinable fair values and for which the Company does not have the ability to exercise significant influence. These investments are accounted for under the cost method of accounting. Under the cost method of accounting, the non-marketable equity securities are carried at cost less any impairment, plus or minus adjustments resulting from observable price changes in orderly transactions for the identical or a similar investment of the same issuer, which is recorded within the statement of operations. The Company holds $ 28.1 million of strategic investments without readily determinable fair values at March 31, 2022 and $ 17.8 million of strategic investments without readily determinable fair values at December 31, 2021. These investments are included in prepaid and other current assets and other assets on the consolidated balance sheets. During the three months ended March 31, 2022 , an acquisition of an entity in which the Company held a strategic investment was completed, which resulted in an observable price change. The Company adjusted the fair value of its investment and recognized a gain of $ 4.2 million reported in the consolidated statements of operations as other income. There were no other adjustments to the carrying value of the strategic investments resulting from impairments or observable price changes in the three months ended March 31, 2022. The following tables summarize the composition of our short- and long-term investments at March 31, 2022 and December 31, 2021. March 31, 2022 Amortized Unrealized Unrealized Aggregate (in thousands) Commercial paper $ 25,667 $ — $ — $ 25,667 Corporate bonds 255,441 1 ( 2,897 ) 252,545 U.S. Government agency securities 28,981 — ( 453 ) 28,528 U.S. Treasury securities 716,187 5 ( 1,438 ) 714,754 Total $ 1,026,276 $ 6 $ ( 4,788 ) $ 1,021,494 December 31, 2021 Amortized Unrealized Unrealized Aggregate (in thousands) Commercial paper $ 25,245 $ — $ — $ 25,245 Corporate bonds 250,443 9 ( 606 ) 249,846 U.S. Government agency securities 22,504 — ( 38 ) 22,466 U.S. Treasury securities 698,446 2 ( 148 ) 698,300 Total $ 996,638 $ 11 $ ( 792 ) $ 995,857 For all of our securities for which the amortized cost basis was greater than the fair value at March 31, 2022, the Company has concluded that there is no plan to sell the security nor is it more likely than not that the Company would be required to sell the security before its anticipated recovery. In making the determination as to whether the unrealized loss is other-than-temporary, the Company considered the length of time and extent the investment has been in an unrealized loss position, the financial condition and near-term prospects of the issuers, the issuers’ credit rating and the time to maturity. Contractual Maturities The contractual maturities of short-term and long-term investments held at March 31, 2022 and December 31, 2021 are as follows: March 31, 2022 December 31, 2021 Amortized Aggregate Amortized Aggregate (in thousands) (in thousands) Due within one year $ 827,789 $ 826,449 $ 821,101 $ 820,962 Due after 1 year through 2 years 198,487 195,045 175,537 174,895 Total $ 1,026,276 $ 1,021,494 $ 996,638 $ 995,857 |