Investments and Fair Value Measurements | Investments and Fair Value Measurements Marketable Investments The Company’s marketable investments have been classified and accounted for as available-for-sale. The Company’s marketable investments as of March 31, 2020 and December 31, 2019 were as follows (in thousands): March 31, 2020 Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Certificates of deposit $ 161 $ — $ — $ 161 U.S. treasury 48,502 393 — 48,895 U.S. agency securities 98,955 597 — 99,552 Commercial paper 12,553 — — 12,553 Municipal bonds 6,357 35 — 6,392 Corporate bonds 2,880 3 (3) 2,880 Total $ 169,408 $ 1,028 $ (3) $ 170,433 December 31, 2019 Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Certificates of deposit $ 161 $ 1 $ — $ 162 U.S. treasury 31,933 8 (1) 31,940 U.S. agency securities 177,629 110 (9) 177,730 Commercial paper 15,240 — — 15,240 Municipal bonds 3,014 1 — 3,015 Corporate bonds 13,876 10 — 13,886 Total $ 241,853 $ 130 $ (10) $ 241,973 The following table presents the gross unrealized losses and the fair value for those marketable investments that were in an unrealized loss position for less than 12 months as of March 31, 2020 and December 31, 2019 (in thousands): March 31, 2020 December 31, 2019 Gross Unrealized Losses Fair Value Gross Unrealized Losses Fair Value U.S. treasury $ — $ — $ (1) $ 12,926 U.S. agency securities — — (9) 36,322 Corporate bonds (3) 1,260 — 251 Total $ (3) $ 1,260 $ (10) $ 49,499 Although the Company had certain available-for-sale debt securities in an unrealized loss position as of March 31, 2020, no impairment loss was recorded since it did not intend to sell them, did not anticipate a need to sell them, and the decline in fair value was not due to any credit-related factors which it is now required to assess upon adoption of ASU 2016-13. The contractual maturities of the Company’s marketable investments as of March 31, 2020 and December 31, 2019 were less than one year. Fair Value Measurements The Company carries cash equivalents and marketable investments at fair value. Fair value is based on the price that would be received from selling an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. Fair value is estimated by applying the following hierarchy, which prioritizes the inputs used to measure fair value into three levels and bases the categorization within the hierarchy upon the lowest level of input that is available and significant to the fair value measurement: Level 1 — Observable inputs, which include unadjusted quoted prices in active markets for identical assets or liabilities. Level 2 — Observable inputs other than Level 1 inputs, such as quoted prices in markets that are not active, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 — Unobservable inputs that are supported by little or no market activity and that are based on management’s assumptions, including fair value measurements determined by using pricing models, discounted cash flow methodologies or similar techniques. The Company determined the fair value of its Level 1 financial instruments, which are traded in active markets, using quoted market prices for identical instruments. Marketable investments classified within Level 2 of the fair value hierarchy are valued based on other observable inputs, including broker or dealer quotations or alternative pricing sources. When quoted prices in active markets for identical assets or liabilities are not available, the Company relies on non-binding quotes from its investment managers, which are based on proprietary valuation models of independent pricing services. These models generally use inputs such as observable market data, quoted market prices for similar instruments, historical pricing trends of a security as relative to its peers. To validate the fair value determination provided by its investment managers, the Company reviews the pricing movement in the context of overall market trends and trading information from its investment managers. The Company performs routine procedures such as comparing prices obtained from independent source to ensure that appropriate fair values are recorded. The following tables set forth the Company’s assets measured at fair value by level within the fair value hierarchy (in thousands): March 31, 2020 Level 1 Level 2 Level 3 Total Assets Cash equivalents Money market funds $ 41,038 $ — $ — $ 41,038 U.S. treasury 21,499 — — 21,499 Municipal bonds — 15,867 — 15,867 Corporate bonds — 250 — 250 Total cash equivalents $ 62,537 $ 16,117 $ — $ 78,654 Marketable investments Certificates of deposit $ — $ 161 $ — $ 161 U.S. treasury 48,895 — — 48,895 U.S. agency securities — 99,552 — 99,552 Commercial paper — 12,553 — 12,553 Municipal bonds — 6,392 — 6,392 Corporate bonds — 2,880 — 2,880 Total marketable investments $ 48,895 $ 121,538 $ — $ 170,433 December 31, 2019 Level 1 Level 2 Level 3 Total Assets Cash equivalents Money market funds $ 2,179 $ — $ — $ 2,179 Commercial paper — 2,697 — 2,697 Total cash equivalents $ 2,179 $ 2,697 $ — $ 4,876 Marketable investments Certificates of deposit $ — $ 162 $ — $ 162 U.S. treasury 31,940 — — 31,940 U.S. agency securities — 177,730 — 177,730 Commercial paper — 15,240 — 15,240 Municipal bonds — 3,015 — 3,015 Corporate bonds — 13,886 — 13,886 Total marketable investments $ 31,940 $ 210,033 $ — $ 241,973 As of March 31, 2020 and December 31, 2019, the estimated fair value of the Company’s outstanding 0.125% convertible senior notes due 2023 was $493.2 million and $437.0 million, respectively. The fair value was determined based on the quoted price of the convertible senior notes in an inactive market on the last trading day of the reporting period and has been classified as Level 2 in the fair value hierarchy. See Note 6 for further information on the Company’s 0.125% convertible senior notes due 2023. There were no assets or liabilities measured at fair value on a non-recurring basis as of March 31, 2020 and December 31, 2019. The Company’s other financial instruments’ fair value, including accounts receivable, accounts payable and other current liabilities, approximate its carrying value due to the relatively short maturity of those instruments. The carrying amounts of the Company’s finance leases approximate their fair value, which is the present value of expected future cash payments based on assumptions about current interest rates and the creditworthiness of the Company. |