v3.24.2.u1
Cash, Cash Equivalents, and Investments
6 Months Ended
Jul. 31, 2024
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Cash, Cash Equivalents, and Investments Cash, Cash Equivalents, and Investments
Cash, cash equivalents, and investments consisted of the following as of the dates indicated (in thousands):

July 31, 2024January 31, 2024
Cash and cash equivalents:
Cash$45,024 $55,736 
Money market funds335,167 305,283 
Commercial paper5,482 994 
U.S. Treasury securities— 998 
Total cash and cash equivalents$385,673 $363,011 
Available-for-sale investments:
   U.S. Treasury securities $56,694 $50,036 
   Commercial paper20,192 2,886 
   Corporate debt securities106,043 131,259 
U.S. Government agency securities30,711 23,997 
Total available-for-sale investments$213,640 $208,178 

The following tables summarize the amortized cost, net unrealized gains (losses), and fair value of the Company’s investments by significant investment category as of the dates indicated (in thousands). Gross realized gains or losses from sales of available-for-sale securities were not material for the three and six months ended July 31, 2024 and 2023.

July 31, 2024
Amortized CostUnrealized Gain (Loss), NetEstimated Fair Value
Available-for-sale investments:
U.S. Treasury securities$56,683 $11 $56,694 
Commercial paper20,205 (13)20,192 
Corporate debt securities106,150 (107)106,043 
U.S. Government agency securities30,760 (49)30,711 
Total available-for-sale investments$213,798 $(158)$213,640 
January 31, 2024
Amortized CostUnrealized Gain (Loss), NetEstimated Fair Value
Available-for-sale investments:
U.S. Treasury securities$50,012 $24 $50,036 
Commercial paper2,887 (1)2,886 
Corporate debt securities131,395 (136)131,259 
U.S. Government agency securities23,983 14 23,997 
Total available-for-sale investments$208,277 $(99)$208,178 
The following tables present the Company’s available-for-sale securities by contractual maturity date as of the dates indicated (in thousands):
July 31, 2024
Amortized Cost
Fair Value
Due within one year$173,611 $173,416 
Due between one to five years40,187 40,224 
Total$213,798 $213,640 
January 31, 2024
Amortized Cost
Fair Value
Due within one year$155,423 $155,158 
Due between one to five years52,854 53,020 
Total$208,277 $208,178 

As of July 31, 2024, there were 84 securities in an unrealized loss position with an aggregate fair value of $148.6 million, 23 of which were in a continuous unrealized loss position for more than 12 months. The total unrealized loss related to the 23 securities was $0.1 million. As of January 31, 2024, there were 70 securities in an unrealized loss position with an aggregate fair value of $108.7 million, 33 of which were in a continuous unrealized loss position for more than 12 months. The unrealized loss related to the 33 securities was $0.2 million.

When evaluating investments for impairment, the Company reviews factors such as the extent to which fair value has been below cost basis, the financial condition of the issuer and any changes thereto, and the Company’s intent to sell, or whether it is more likely than not that the Company will be required to sell, the investment before recovery of the investment’s amortized cost. No impairment loss has been recorded on the securities included in the tables above, as the Company believes that any decrease in fair value of these securities is temporary and the Company expects to recover at least up to the initial cost of the investment for these securities. The Company has not recorded an allowance for credit losses, as the Company believes any such losses would be immaterial based on the high-grade credit rating for each of its marketable securities as of the end of each period.