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, 2020 and December 31, 2019: March 31, 2020 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 43,772 $ — $ — $ 43,772 Commercial paper — 83,100 — 83,100 Corporate bonds — 120,201 — 120,201 U.S. Treasury securities — 677,310 — 677,310 Restricted cash: Certificates of deposit — 552 — 552 Money market funds — 3,029 — 3,029 Total $ 43,772 $ 884,192 $ — $ 927,964 December 31, 2019 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 96,618 $ — $ — $ 96,618 Commercial paper — 87,185 — 87,185 Corporate bonds — 87,138 — 87,138 U.S. Treasury securities — 631,174 — 631,174 Restricted cash: Certificates of deposit — 5,816 — 5,816 Money market funds — 3,029 — 3,029 Total $ 96,618 $ 814,342 $ — $ 910,960 The Company considers all highly liquid investments purchased with a remaining 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, and restricted cash (within prepaid expenses and other current assets and other long-term assets) on the consolidated balance sheets. At March 31, 2020 and December 31, 2019, our 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, 2020, the fair value of the 2022 Notes was $597.8 million. The fair value was determined based on the quoted price of the 2022 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, capital leases 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 and certificates of deposit 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 $4.2 million of strategic investments without readily determinable fair values at March 31, 2020 and $4.4 million of strategic investments without readily determinable fair values at December 31, 2019. These investments are included in other assets on the consolidated balance sheets. For the three months ended March 31, 2020, the Company recorded an impairment of $250 thousand. The following tables summarize the composition of our short- and long-term investments at March 31, 2020 and December 31, 2019. March 31, 2020 Amortized Cost Unrealized Gains Unrealized Losses Aggregate Fair Value (in thousands) Commercial paper $ 83,100 $ — $ — $ 83,100 Corporate bonds 120,639 234 (672 ) 120,201 U.S. Treasury securities 600,897 1,422 (8 ) 602,311 Total $ 804,636 $ 1,656 $ (680 ) $ 805,612 December 31, 2019 Amortized Cost Unrealized Gains Unrealized Losses Aggregate Fair Value (in thousands) Commercial paper $ 77,214 $ — $ — $ 77,214 Corporate bonds 86,900 251 (13 ) 87,138 U.S. Treasury securities 581,066 207 (15 ) 581,258 Total $ 745,180 $ 458 $ (28 ) $ 745,610 For all of our securities for which the amortized cost basis was greater than the fair value at March 31, 2020, 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, 2020 and December 31, 2019 are as follows: March 31, 2020 December 31, 2019 Amortized Cost Basis Aggregate Fair Value Amortized Cost Basis Aggregate Fair Value (in thousands) (in thousands) Due within one year $ 737,992 $ 739,428 $ 691,556 $ 691,834 Due after 1 year through 2 years 66,644 66,184 53,624 53,776 Total $ 804,636 $ 805,612 $ 745,180 $ 745,610 |