v3.22.4
Cash Equivalents and Short-Term Investments - Schedule of Unrealized Position (Details) - USD ($)
$ in Thousands
Jan. 31, 2023
Jul. 31, 2022
Debt Securities, Available-for-sale [Line Items]    
Less than 12 months, fair value $ 150,269 $ 467,471
Less than 12 months, unrealized losses (204) (9,348)
Greater than 12 months, fair value 324,198 121,261
Greater than 12 months, unrealized losses (10,230) (2,553)
Total fair value 474,467 588,732
Total unrealized losses (10,434) (11,901)
U.S. treasury securities    
Debt Securities, Available-for-sale [Line Items]    
Less than 12 months, fair value 24,983 80,833
Less than 12 months, unrealized losses 0 (251)
Greater than 12 months, fair value 0 0
Greater than 12 months, unrealized losses 0 0
Total fair value 24,983 80,833
Total unrealized losses 0 (251)
U.S. government agency securities    
Debt Securities, Available-for-sale [Line Items]    
Less than 12 months, fair value 75,709 230,670
Less than 12 months, unrealized losses (23) (5,150)
Greater than 12 months, fair value 183,088 50,134
Greater than 12 months, unrealized losses (6,448) (1,478)
Total fair value 258,797 280,804
Total unrealized losses (6,471) (6,628)
Corporate debt securities    
Debt Securities, Available-for-sale [Line Items]    
Less than 12 months, fair value 49,577 155,968
Less than 12 months, unrealized losses (181) (3,947)
Greater than 12 months, fair value 141,110 71,127
Greater than 12 months, unrealized losses (3,782) (1,075)
Total fair value 190,687 227,095
Total unrealized losses $ (3,963) $ (5,022)