Cash and Cash Equivalents, Short-Term Investments and Restricted Investments | 4. Cash and Cash Equivalents, Short-Term Investments and Restricted Investments The following are summaries of cash and cash equivalents, short-term investments and restricted investments (in thousands): Cost Gross Unrealized Gains Gross Unrealized Losses Estimated Fair Value As of June 30, 2015: Cash $ 1,919 $ 1,919 Money market funds 25,534 25,534 Corporate debt securities 142,899 89 (24 ) 142,964 Certificates of deposit 1,725 1,725 $ 172,077 $ 89 $ (24 ) $ 172,142 Reported as: Cash and cash equivalents $ 31,360 Short-term investments 139,057 Restricted investments (1) 1,725 $ 172,142 As of December 31, 2014: Cash $ 3,383 $ — $ — $ 3,383 Money market funds 8,576 — — 8,576 U.S. government-sponsored agencies 2,000 — (2 ) 1,998 Corporate debt securities 88,127 12 (40 ) 88,099 Certificates of deposit 1,725 — — 1,725 $ 103,811 $ 12 $ (42 ) $ 103,781 Reported as: Cash and cash equivalents $ 11,958 Short-term investments 90,098 Restricted investments (1) 1,725 $ 103,781 (1) Included in “Prepaids and other current assets” and “Restricted investments and other assets” as of June 30, 2015 and December 31, 2014, respectively. The Company considers all highly liquid investments with original maturities of 90 days or less at the time of purchase to be cash equivalents, which primarily consist of money market funds. Management determines the appropriate classification of securities at the time of purchase. All investments have been designated as available-for-sale. The Company classifies its available-for-sale investments as either current or noncurrent based on their maturities and the Company’s intent with regard to those investments. The Company currently views its available-for-sale investments that mature within one year as available for its current operations and classified as short-term investments, while available-for-sale investments that mature beyond one year are classified as long-term investments. All available-for-sale securities are carried at estimated fair value with unrealized gains and losses reported as a component of other comprehensive loss in the statements of comprehensive loss. No gross realized gains or losses were recognized and accordingly, there were no amounts reclassified out of accumulated other comprehensive income (loss) to earnings in the three and six months ended June 30, 2015 or in the same periods in 2014. The Company’s available-for-sale investments, which include cash equivalents and short-term investments, are measured at fair value on a recurring basis and are classified at the following fair value hierarchy (in thousands): Fair Value Measurements at Reporting Date Using Description Total As of Quoted Prices in Significant Other (Level 2) Significant Money market funds $ 25,534 $ 25,534 $ — $ — Corporate debt securities 142,964 — 142,964 — Certificates of deposit 1,725 — 1,725 — Total $ 170,223 $ 25,534 $ 144,689 $ — Fair Value Measurements at Reporting Date Using Description Total As of Quoted Prices in Identical Assets Significant Other Significant Money market funds $ 8,576 $ 8,576 $ — $ — U.S. government-sponsored agencies 1,998 — 1,998 — Corporate debt securities 88,099 — 88,099 — Certificates of deposit 1,725 — 1,725 — Total $ 100,398 $ 8,576 $ 91,822 $ — |