XML 21 R11.htm IDEA: XBRL DOCUMENT v3.23.3
Cash, Cash Equivalents and Short-Term Investments
9 Months Ended
Oct. 31, 2023
Cash and Cash Equivalents [Abstract]  
Cash, Cash Equivalents and Short-Term Investments
4. Cash, Cash Equivalents and Short-Term Investments
The following table summarizes the Company’s cash, cash equivalents and short-term investments by category (in thousands):
As of October 31, 2023
Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Cash and cash equivalents:
    Cash$86,109 $— $— $86,109 
    Money market funds154,402 — — 154,402 
    U.S. Treasury securities25,812 — — 25,812 
    Commercial paper18,989 — (3)18,986 
Total cash and cash equivalents$285,312 $— $(3)$285,309 
Short-term investments:
    Commercial paper35,751 — (26)35,725 
    Corporate debt securities206,334 — (1,393)204,941 
    Foreign government bonds2,249 — (3)2,246 
    U.S. Agency securities58,139 — (313)57,826 
    U.S. Treasury securities404,686 (1,102)403,587 
Total short-term investments$707,159 $$(2,837)$704,325 
As of January 31, 2023
Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Cash and cash equivalents:
    Cash$232,332 $— $— $232,332 
    Money market funds60,073 — — 60,073 
    U.S. Agency securities2,997 — — 2,997 
Total cash and cash equivalents$295,402 $— $— $295,402 
Short-term investments:
    Commercial paper88,703 18 (112)88,609 
    Corporate debt securities95,805 33 (572)95,266 
    Municipal bonds1,989 — (19)1,970 
    Foreign government bonds2,211 — (41)2,170 
    U.S. Agency securities74,158 (435)73,725 
    U.S. Treasury securities383,238 — (3,729)379,509 
Total short-term investments$646,104 $53 $(4,908)$641,249 
The Company uses the specific-identification method to determine any realized gains or losses from the sale of the Company’s short-term investments classified as available-for-sale. For the three and nine months ended October 31, 2023 and 2022, the Company did not have any material realized gains or losses as a result of maturities or sale of short-term investments.
During the three and nine months ended October 31, 2023, the Company recorded $10.9 million and $27.3 million of interest income on cash equivalents and short-term investments, respectively, which includes $5.9 million and $14.4 million of net amortization of premiums or discounts on short-term investments during the three and nine months ended October 31, 2023, respectively. During the three and nine months ended October 31, 2022, the Company recorded $4.7 million and $8.2 million of interest income on cash equivalents and short-term investments, respectively, which included $2.1 million and $3.3 million of net amortization of premiums or discounts on short-term investments during the three and nine months ended October 31, 2022, respectively.
The following table summarizes unrealized losses on the Company’s cash equivalents and short-term investments aggregated by category and the length of time such aggregated investments have been in a continuous unrealized loss position as of the periods presented (in thousands):
Less Than 12 MonthsMore Than 12 Months or GreaterTotal
Carrying ValueGross Unrealized LossesCarrying ValueGross Unrealized LossesFair ValueGross Unrealized Losses
October 31, 2023
    U.S. Agency securities$42,820 $(154)$15,006 $(159)$57,826 $(313)
    Commercial paper54,711 (29)— — 54,711 (29)
    Corporate debt securities188,536 (1,229)15,405 (164)203,941 (1,393)
    Foreign government bonds— — 2,246 (3)2,246 (3)
    U.S. Treasury securities304,505 (490)76,070 (612)380,575 (1,102)
Total cash equivalents and short-term investments$590,572 $(1,902)$108,727 $(938)$699,299 $(2,840)
Less Than 12 MonthsMore Than 12 Months or GreaterTotal
Carrying ValueGross Unrealized LossesCarrying ValueGross Unrealized LossesFair ValueGross Unrealized Losses
January 31, 2023
    U.S. Agency securities$73,724 $(435)$— $— $73,724 $(435)
    Commercial paper45,015 (112)— — $45,015 $(112)
    Corporate debt securities75,203 (572)— — $75,203 $(572)
    Municipal bonds1,970 (19)— — $1,970 $(19)
    Foreign government bonds2,170 (41)— — $2,170 $(41)
    U.S. Treasury securities379,509 (3,729)— — $379,509 $(3,729)
Total cash equivalents and short-term investments$577,591 $(4,908)$— $— $577,591 $(4,908)
The following table classifies the Company’s short-term investments by contractual maturities (in thousands):
October 31, 2023January 31, 2023
Amortized costFair ValueAmortized costFair Value
Due within 1 year$572,928 $571,086 $480,943 $477,520 
Due between 1 year to 2 years134,231 133,239 165,161 163,729 
Total$707,159 $704,325 $646,104 $641,249 
All available-for-sale securities have been classified as current, based on management’s ability to use the funds in current operations.