v3.23.2
Investments (Tables)
6 Months Ended
Jul. 31, 2023
Investments, Debt and Equity Securities [Abstract]  
Summary of Debt Securities
As of July 31, 2023, debt securities consisted of the following (in thousands):
Amortized CostUnrealized GainsUnrealized LossesAggregate Fair Value
U.S. treasury securities$2,577,707 $23 $(10,470)$2,567,260 
U.S. agency obligations543,065 283 (2,742)540,606 
Corporate bonds1,649,860 652 (14,982)1,635,530 
Commercial paper1,184,789 1 — 1,184,790 
Total debt securities$5,955,421 $959 $(28,194)$5,928,186 
Included in Cash and cash equivalents$763,088 $— $(1)$763,087 
Included in Marketable securities$5,192,333 $959 $(28,193)$5,165,099 
As of January 31, 2023, debt securities consisted of the following (in thousands):
Amortized CostUnrealized GainsUnrealized LossesAggregate Fair Value
U.S. treasury securities$2,455,739 $77 $(6,765)$2,449,051 
U.S. agency obligations325,664 — (3,874)321,790 
Corporate bonds966,801 1,617 (6,715)961,703 
Commercial paper1,016,641 — (5)1,016,636 
Total debt securities$4,764,845 $1,694 $(17,359)$4,749,180 
Included in Cash and cash equivalents$594,864 $— $(1)$594,863 
Included in Marketable securities$4,169,980 $1,694 $(17,357)$4,154,317 
Contractual Maturity of Debt Securities
The contractual maturities of the debt securities were as follows (in thousands):
July 31, 2023
Due within 1 year$3,992,736 
Due in 1 year through 5 years1,935,450 
Total debt securities$5,928,186 
Equity Investments
Equity investments consisted of the following (in thousands):
Condensed Consolidated Balance Sheets LocationJuly 31, 2023January 31, 2023
Money market funds Cash and cash equivalents$447,869 $902,226 
Non-marketable equity investments measured using the measurement alternative Other assets261,506 261,922 
Marketable equity investments Marketable securities56,302 80,766 
Total equity investments$765,677 $1,244,914 
Realized and Unrealized Gains and Losses With Equity Investments
Total realized and unrealized gains and losses associated with our equity investments consisted of the following (in thousands):
Three Months Ended July 31, Six Months Ended July 31,
2023202220232022
Net realized gains (losses) recognized on equity investments sold (1)
$2,421 $95 $1,099 $1,154 
Net unrealized gains (losses) recognized on equity investments held as of the end of the period(1,583)(16,511)(8,275)(24,999)
Total net gains (losses) recognized in Other income (expense), net$838 $(16,416)$(7,176)$(23,845)
(1)Reflects the difference between the sale proceeds and the carrying value of the equity investments at the beginning of the period.
Carrying Values Of Non-marketable Equity Investments The carrying values for our non-marketable equity investments are summarized below (in thousands):
July 31, 2023January 31, 2023
Total initial cost$218,833 $206,833 
Cumulative net unrealized gains (losses)42,673 55,089 
Carrying value$261,506 $261,922 
Carrying Values Of Marketable Equity Investments The carrying values for our marketable equity investments are summarized below (in thousands):
July 31, 2023January 31, 2023
Total initial cost$24,801 $38,449 
Cumulative net unrealized gains (losses)31,501 42,317 
Carrying value
$56,302 $80,766