XML 42 R28.htm IDEA: XBRL DOCUMENT v3.22.0.1
Cash Equivalents and Marketable Securities (Tables)
12 Months Ended
Dec. 31, 2021
Investments, Debt and Equity Securities [Abstract]  
Schedule of Carrying Amounts and Fair Values of Debt Securities
Cash equivalents and available-for-sale debt securities consisted of the following as of December 31, 2021 and 2020 (in thousands):
December 31, 2021
Amortized CostUnrealized GainsUnrealized LossesFair Value
Cash equivalents:
Money market funds$684,485 $— $— $684,485 
U.S. treasury securities22,000 — — 22,000 
U.S. government agency securities4,286 — (1)4,285 
Corporate debt securities15,998 — — 15,998 
Total cash equivalents726,769 — (1)726,768 
Debt securities:
U.S. treasury securities442,715 (432)442,285 
U.S. government agency securities75,725 — (159)75,566 
Corporate debt securities54,335 17 (175)54,177 
Total debt securities572,775 19 (766)572,028 
Total cash equivalents and debt securities$1,299,544 $19 $(767)$1,298,796 
December 31, 2020
Amortized CostUnrealized GainsUnrealized LossesFair Value
Cash equivalents:
Money market funds$56,474 $— $— $56,474 
Debt Securities:
U.S. treasury securities50,087 136 — 50,223 
Corporate debt securities85,413 265 (5)85,673 
Asset-backed securities3,247 15 — 3,262 
Total debt securities138,747 416 (5)139,158 
Total cash equivalents and debt securities$195,221 $416 $(5)$195,632 
Schedule of Amortized Costs and Fair Value of Debt Securities Based on Contractual Maturities
The amortized cost and fair value of the available-for-sale debt securities based on contractual maturities are as follows (in thousands):
December 31, 2021
Amortized CostFair Value
Due within one year$392,629 $392,412 
Due after one year but within five years180,146 179,616 
Total$572,775 $572,028 
Summary of Realized and Unrealized Gains The following table summarizes the realized and unrealized gains recognized in the consolidated
statements of operations for the term bond mutual funds during the years ended December 31, 2021, 2020, and 2019 (in thousands):
Year Ended December 31,
202120202019
Net gains recognized on marketable equity investments$132 $107 $582 
Less: Net gains recognized on sale of marketable equity investments— — (316)
Unrealized gains at the end of the period$132 $107 $266