Investments and Fair Value Measurements | Investments and Fair Value Measurements The Company's cash equivalents include investments with a remaining maturity date of three months or less . As of March 31, 2022 and December 31, 2021, all of its securities are classified as available-for-sale. The Company's total cash, cash equivalents and marketable securities as of March 31, 2022 and December 31, 2021 consisted of the following: As of March 31, As of December 31, 2022 2021 (in thousands) Cash and cash equivalents: Cash $ 118,014 $ 134,774 Money market funds 66,792 31,294 U.S. Treasury securities 60,988 — Total cash and cash equivalents $ 245,794 $ 166,068 Marketable securities: U.S. Treasury securities $ 235,623 $ 184,946 Corporate notes and bonds 23,734 11,327 Commercial paper 80,904 124,089 Asset-backed securities 21,438 21,576 Municipal securities 2,249 2,250 Foreign government and supranational securities 30,002 17,607 Total marketable securities, current (1) $ 393,950 $ 361,795 U.S. Treasury securities 122,556 239,528 Corporate notes and bonds 187,792 197,298 Asset-backed securities 81,871 77,142 Municipal securities 2,245 2,312 Foreign government and supranational securities — 12,631 Total marketable securities, non-current (2) $ 394,464 $ 528,911 Total marketable securities $ 788,414 $ 890,706 Total cash, cash equivalents and marketable securities $ 1,034,208 $ 1,056,774 (1) The Company classifies its marketable securities as current, where it intends to hold the securities for less than 12 months. (2) The Company classifies its marketable securities are non-current, where it intends to hold the securities for longer than 12 months. Available-for-Sale Investments The Company’s marketable securities are classified as available-for-sale as of the balance sheet date and are reported at fair value with unrealized gains and losses reported, net of tax, as a separate component of accumulated other comprehensive income (loss) in stockholders’ equity. The following table summarizes adjusted cost, gross unrealized gains and losses, and fair value related to available-for-sale securities classified as marketable securities as of March 31, 2022 and December 31, 2021: As of March 31, 2022 Amortized Gross Gross Fair (in thousands) U.S. Treasury securities $ 362,746 $ — $ (4,567) $ 358,179 Corporate notes and bonds 215,096 — (3,570) 211,526 Commercial paper 80,904 — — 80,904 Asset-backed securities 103,795 — (486) 103,309 Municipal securities 4,576 — (82) 4,494 Foreign government and supranational securities 30,221 — (219) 30,002 Total available-for-sale investments $ 797,338 $ — $ (8,924) $ 788,414 As of December 31, 2021 Amortized Gross Gross Fair (in thousands) U.S. Treasury securities $ 425,560 $ 1 $ (1,086) $ 424,475 Corporate notes and bonds 209,550 — (925) 208,625 Commercial paper 124,098 — (9) 124,089 Asset-backed securities 98,857 — (140) 98,717 Municipal securities 4,577 — (15) 4,562 Foreign government and supranational securities 30,306 — (68) 30,238 Total available-for-sale investments $ 892,948 $ 1 $ (2,243) $ 890,706 There were no material realized gains or losses from sales of marketable securities that were reclassified out of accumulated other comprehensive (loss) income into investment income during the three months ended March 31, 2022 and 2021. There were no securities in a continuous loss position for 12 months or longer as of March 31, 2022 and December 31, 2021. Investments are reviewed periodically to identify possible other-than-temporary impairments. No impairment loss has been recorded on the securities included in the tables above, as the Company believes that the decrease in fair value of these securities is temporary. Fair Value of Financial Instruments For certain of the Company's financial instruments, including cash held in banks, accounts receivable, and accounts payable, the carrying amounts approximate fair value due to their short maturities, and are therefore excluded from the fair value tables below. Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. There is a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value as follows: Level 1—Observable inputs such as quoted prices in active markets for identical assets or liabilities; Level 2—Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities, 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; and Level 3—Unobservable inputs that are supported by little or no market activity, which require management judgment or estimation. The Company measures its cash equivalents, marketable securities, and restricted cash at fair value. The Company classifies its cash equivalents, marketable securities and restricted cash within Level 1 or Level 2 because the Company values these investments using quoted market prices or alternative pricing sources and models utilizing market observable inputs. The fair value of the Company's Level 1 financial assets is based on quoted market prices of the identical underlying security. The fair value of the Company's Level 2 financial assets is based on inputs that are directly or indirectly observable in the market, including the readily available pricing sources for the identical underlying security that may not be actively traded. Financial assets and liabilities measured and recorded at fair value on a recurring basis consisted of the following types of instruments: As of March 31, 2022 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents: Money market funds $ 66,792 $ — $ — $ 66,792 U.S. Treasury securities — 60,988 — 60,988 Total cash equivalents 66,792 60,988 — 127,780 Marketable securities: Corporate notes and bonds — 211,526 — 211,526 Commercial paper — 80,904 — 80,904 U.S. Treasury securities — 358,179 — 358,179 Municipal securities — 4,494 — 4,494 Asset-backed securities — 103,309 — 103,309 Foreign government and supranational securities — 30,002 — 30,002 Total marketable securities — 788,414 — 788,414 Restricted cash: Restricted cash, non-current 893 — — 893 Total restricted cash 893 — — 893 Total financial assets $ 67,685 $ 849,402 $ — $ 917,087 As of December 31, 2021 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents: Money market funds $ 31,294 $ — $ — $ 31,294 Total cash equivalents 31,294 — — 31,294 Marketable securities: U.S. Treasury securities — 424,475 — 424,475 Corporate notes and bonds — 208,625 — 208,625 Commercial paper — 124,089 — 124,089 Asset-backed securities — 98,717 — 98,717 Municipal securities — 4,562 — 4,562 Foreign government and supranational securities — 30,238 — 30,238 Total marketable securities — 890,706 — 890,706 Restricted cash: Restricted cash, non-current 893 — — 893 Total restricted cash 893 — — 893 Total financial assets $ 32,187 $ 890,706 $ — $ 922,893 The Company classifies its investments, which are comprised of corporate notes and bonds, commercial paper, U.S. treasury securities, foreign government and supranational securities and asset-backed securities within Level 2 of the fair value hierarchy because the fair value of these securities is priced by using inputs based on non-binding market consensus prices that are primarily corroborated by observable market data or quoted market prices for similar instruments. As of both March 31, 2022 and December 31, 2021, the Company had $0.9 million in restricted cash, consisting of letters of credit related to lease arrangements that are collateralized by restricted cash. This amount is classified as non-current in line with the remaining term of the lease and is included in other assets on the Company's Condensed Consolidated Balance Sheets. There were no transfers of assets and liabilities measured at fair value between Level 1 and Level 2, or between Level 2 and Level 3, during the three months ended March 31, 2022 and 2021. |