v3.23.1
Cash and Cash Equivalents, Investments and Fair Value Measurements - Schedule of Investments (Details) - USD ($)
$ in Thousands
Apr. 30, 2023
Jan. 31, 2023
Cash and cash equivalents:    
Amortized Cost $ 150,099 $ 137,941
Short-term investments:    
Amortized Cost 570,835 487,200
Gross Unrealized Gains 38 49
Gross Unrealized Losses (2,745) (1,665)
Estimated Fair Value 568,128 485,584
Long-term investments:    
Amortized Cost 414,743 528,127
Gross Unrealized Gains 142 205
Gross Unrealized Losses (3,501) (5,410)
Estimated Fair Value 411,384 522,922
Total assets measured at fair value, Amortized Cost 1,135,676 1,153,268
Total assets measured at fair value, Gross Unrealized Gains 181 254
Total assets measured at fair value, Gross Unrealized Losses (6,246) (7,075)
Total assets measured at fair value, Estimated Fair Value 1,129,611 1,146,447
Cash    
Cash and cash equivalents:    
Amortized Cost 70,297 35,055
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Estimated Fair Value 70,297 35,055
Total cash and cash equivalents    
Cash and cash equivalents:    
Amortized Cost 150,098 137,941
Gross Unrealized Gains 1 0
Gross Unrealized Losses 0 0
Estimated Fair Value 150,099 137,941
Level 1 | U.S. Treasury securities    
Short-term investments:    
Amortized Cost 168,185 144,392
Gross Unrealized Gains 13 1
Gross Unrealized Losses (689) (501)
Estimated Fair Value 167,509 143,892
Long-term investments:    
Amortized Cost 153,329 192,337
Gross Unrealized Gains 0 0
Gross Unrealized Losses (1,755) (2,460)
Estimated Fair Value 151,574 189,877
Level 1 | Money market funds    
Cash and cash equivalents:    
Amortized Cost 74,816 102,886
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Estimated Fair Value 74,816 102,886
Level 2 | Commercial paper    
Short-term investments:    
Amortized Cost 168,335 230,305
Gross Unrealized Gains 0 30
Gross Unrealized Losses (281) (667)
Estimated Fair Value 168,054 229,668
Level 2 | Corporate notes and bonds    
Short-term investments:    
Amortized Cost 121,689 38,443
Gross Unrealized Gains 0 15
Gross Unrealized Losses (1,280) (148)
Estimated Fair Value 120,409 38,310
Long-term investments:    
Amortized Cost 178,792 233,946
Gross Unrealized Gains 139 178
Gross Unrealized Losses (1,100) (2,029)
Estimated Fair Value 177,831 232,095
Level 2 | U.S. agency securities    
Short-term investments:    
Amortized Cost 112,626 74,060
Gross Unrealized Gains 25 3
Gross Unrealized Losses (495) (349)
Estimated Fair Value 112,156 73,714
Long-term investments:    
Amortized Cost 82,622 101,844
Gross Unrealized Gains 3 27
Gross Unrealized Losses (646) (921)
Estimated Fair Value 81,979 $ 100,950
Level 2 | U.S. agency securities    
Cash and cash equivalents:    
Amortized Cost 4,985  
Gross Unrealized Gains 1  
Gross Unrealized Losses 0  
Estimated Fair Value $ 4,986