Fair Value of Financial Instruments | 3. 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, 2017 and December 31, 2016. March 31, 2017 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 32,128 $ — $ — $ 32,128 Commercial paper — 11,962 — 11,962 Corporate bonds — 67,901 — 67,901 U.S. government agency obligations — 10,984 — 10,984 Restricted cash: Certificates of deposit — 4,940 — 4,940 Total $ 32,128 $ 95,787 $ — $ 127,915 December 31, 2016 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents and investments: Money market funds $ 32,260 $ — $ — $ 32,260 Commercial paper — 12,439 — 12,439 Corporate bonds — 66,947 — 66,947 U.S. government agency obligations — 10,980 — 10,980 Total $ 32,260 $ 90,366 $ — $ 122,626 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 on the consolidated balance sheets. At March 31, 2017 and December 31, 2016, 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. 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 certificates of deposit related to landlord guarantees for our leased facilities. These restricted cash balances have been excluded from our cash and cash equivalents balance on our consolidated balance sheets. The following tables summarize the composition of our short- and long-term investments at March 31, 2017 and December 31, 2016. March 31, 2017 Amortized Cost Unrealized Gains Unrealized Losses Aggregate Fair Value (in thousands) Commercial paper $ 11,967 $ — $ (5 ) $ 11,962 Corporate bonds 68,034 3 (136 ) 67,901 U.S. government agency obligations 10,999 1 (16 ) 10,984 Total $ 91,000 $ 4 $ (157 ) $ 90,847 December 31, 2016 Amortized Cost Unrealized Gains Unrealized Losses Aggregate Fair Value (in thousands) Commercial paper $ 12,446 $ — $ (7 ) $ 12,439 Corporate bonds 67,126 — (179 ) 66,947 U.S. government agency obligations 10,998 — (18 ) 10,980 Total $ 90,570 $ — $ (204 ) $ 90,366 For all of our securities for which the amortized cost basis was greater than the fair value at March 31, 2017, 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, 2017 and December 31, 2016 are as follows: March 31, 2017 December 31, 2016 Amortized Cost Basis Aggregate Fair Value Amortized Cost Basis Aggregate Fair Value (in thousands) (in thousands) Due within one year $ 53,059 $ 53,001 $ 54,694 $ 54,648 Due after 1 year through 2 years 37,941 37,846 35,876 35,718 Total $ 91,000 $ 90,847 $ 90,570 $ 90,366 |