CASH, CASH EQUIVALENTS, AND SHORT-TERM INVESTMENTS (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Jan. 31, 2022
Schedule of Available-for-sale Securities      
Cash and cash equivalents, cost basis $ 285,046 $ 359,418 $ 358,805
Cash and cash equivalents, fair value 285,046   358,805
Maturities and sales of investments 300 $ 45,600  
Bank time deposits      
Schedule of Available-for-sale Securities      
Cost Basis 745   765
Gross Unrealized Gains 0   0
Gross Unrealized Losses 0   0
Estimated Fair Value 745   765
Total short-term investments      
Schedule of Available-for-sale Securities      
Cost Basis 745   765
Gross Unrealized Gains 0   0
Gross Unrealized Losses 0   0
Estimated Fair Value 745   765
Cash and bank time deposits      
Schedule of Available-for-sale Securities      
Cash and cash equivalents, cost basis 184,944   201,769
Cash and cash equivalents, fair value 184,944   201,769
Money market funds      
Schedule of Available-for-sale Securities      
Cash and cash equivalents, cost basis 25,135   127,041
Cash and cash equivalents, fair value 25,135   127,041
Commercial paper      
Schedule of Available-for-sale Securities      
Cash and cash equivalents, cost basis 74,967   29,995
Cash and cash equivalents, fair value $ 74,967   $ 29,995