XML 89 R43.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Cash Equivalents and Short-term Investments Schedule of Amortized Costs, Unrealized Gains and Losses and Estimated Fair Value of Cash Equivalents and Short-term Investments (Details) - USD ($) $ in Thousands | Jan. 31, 2020 | Jan. 31, 2019
--- | --- | ---
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | $ 881,779 | $ 265,396
Unrealized Gain | 1,205 | 50
Unrealized Loss | (8) | (72)
Estimated Fair Value | 882,976 | 265,374
Total Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 1,318,359 | 516,231
Unrealized Gain | 1,205 | 50
Unrealized Loss | (8) | (73)
Estimated Fair Value | 1,319,556 | 516,208
U.S. treasury securities |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 575,920 | 195,913
Unrealized Gain | 686 | 37
Unrealized Loss | (8) | (53)
Estimated Fair Value | 576,598 | 195,897
Corporate debt securities |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 305,859 | 69,483
Unrealized Gain | 519 | 13
Unrealized Loss | 0 | (19)
Estimated Fair Value | 306,378 | 69,477
Cash and Cash Equivalents |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 436,580 | 250,835
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | (1)
Estimated Fair Value | 436,580 | 250,834
Cash and Cash Equivalents | Money market funds |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 416,584 | 247,426
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Estimated Fair Value | 416,584 | 247,426
Cash and Cash Equivalents | U.S. treasury securities |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost | 19,996 |
Unrealized Gain | 0 |
Unrealized Loss | 0 |
Estimated Fair Value | $ 19,996 |
Cash and Cash Equivalents | Corporate debt securities |  |
Cash Equivalents And Short Term Investments [Abstract] |  |
Amortized Cost |  | 3,409
Unrealized Gain |  | 0
Unrealized Loss |  | (1)
Estimated Fair Value |  | $ 3,408

X
- Definition Cash Equivalents And Available-For-Sale Securities, Accumulated Gross Unrealized Gain, Before Tax + References No definition available. + Details
Name: | okta_CashEquivalentsAndAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash Equivalents And Available-For-Sale Securities, Accumulated Gross Unrealized Loss, Before Tax + References No definition available. + Details
Name: | okta_CashEquivalentsAndAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Equivalents And Short Term Investments [Abstract] + References No definition available. + Details
Name: | okta_CashEquivalentsAndShortTermInvestmentsAbstract
Namespace Prefix: | okta_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash Equivalents and Available-for-sale Securities, Amortized Cost Basis + References No definition available. + Details
Name: | okta_CashEquivalentsandAvailableforsaleSecuritiesAmortizedCostBasis
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Equivalents and Available-for-sale Securities, Fair Value Disclosure + References No definition available. + Details
Name: | okta_CashEquivalentsandAvailableforsaleSecuritiesFairValueDisclosure
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Total Cash Equivalents And Short Term Investments [Abstract] + References No definition available. + Details
Name: | okta_TotalCashEquivalentsAndShortTermInvestmentsAbstract
Namespace Prefix: | okta_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |