Fair Value Measurements (Details) - USD ($) $ in Thousands | Jul. 31, 2023 | Jan. 31, 2023 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | $ 713,058 | $ 641,249 |
Cash held in bank accounts | 716,607 | 646,104 |
Cash and Cash Equivalents | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 273,225 | 295,402 |
Cash held in bank accounts | 273,228 | 295,402 |
Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets, fair value disclosure | 860,087 | 704,319 |
Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets, fair value disclosure | 117,628 | 60,073 |
Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets, fair value disclosure | 742,459 | 644,246 |
Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets, fair value disclosure | 0 | 0 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 83,880 | 88,609 |
Cash held in bank accounts | 83,957 | 88,703 |
Commercial paper | Cash and Cash Equivalents | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 10,916 | |
Cash held in bank accounts | 10,919 | |
Commercial paper | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 83,880 | 88,609 |
Commercial paper | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Commercial paper | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 83,880 | 88,609 |
Commercial paper | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Corporate debt securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 175,854 | 95,266 |
Cash held in bank accounts | 177,000 | 95,805 |
Corporate debt securities | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 175,854 | 95,266 |
Corporate debt securities | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Corporate debt securities | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 175,854 | 95,266 |
Corporate debt securities | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Municipal bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | | 1,970 |
Cash held in bank accounts | | 1,989 |
Municipal bonds | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | | 1,970 |
Municipal bonds | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | | 0 |
Municipal bonds | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | | 1,970 |
Municipal bonds | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | | 0 |
Foreign government bonds | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 2,216 | 2,170 |
Foreign government bonds | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Foreign government bonds | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 2,216 | 2,170 |
Foreign government bonds | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. Agency securities | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 67,122 | 73,725 |
U.S. Agency securities | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. Agency securities | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 67,122 | 73,725 |
U.S. Agency securities | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 383,986 | 379,509 |
Cash held in bank accounts | 385,848 | 383,238 |
U.S. Treasury securities | Cash and Cash Equivalents | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 18,485 | |
Cash held in bank accounts | 18,485 | |
U.S. Treasury securities | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 383,986 | 379,509 |
U.S. Treasury securities | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. Treasury securities | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 383,986 | 379,509 |
U.S. Treasury securities | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Cash | Cash and Cash Equivalents | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments | 126,196 | 232,332 |
Cash held in bank accounts | 126,196 | 232,332 |
Money market funds | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 117,628 | 60,073 |
Money market funds | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 117,628 | 60,073 |
Money market funds | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Money market funds | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
U.S. Treasury securities | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 18,485 | |
U.S. Treasury securities | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
U.S. Treasury securities | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 18,485 | |
U.S. Treasury securities | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
Commercial paper | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 10,916 | |
Commercial paper | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
Commercial paper | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 10,916 | |
Commercial paper | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | $ 0 | |
U.S. Agency securities | Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 2,997 |
U.S. Agency securities | Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 0 |
U.S. Agency securities | Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | 2,997 |
U.S. Agency securities | Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | | $ 0 |