XML 46 R32.htm IDEA: XBRL DOCUMENT
v3.10.0.1

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 | Jul. 31, 2018 | Jan. 31, 2018
--- | --- | ---
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | $ 343,624 | $ 101,967
Unrealized Gain | 6 | 0
Unrealized Loss | (256) | (202)
Estimated Fair Value | 343,374 | 101,765
Total Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 511,208 | 192,737
Unrealized Gain | 6 | 0
Unrealized Loss | (256) | (202)
Estimated Fair Value | 510,958 | 192,535
Commercial paper |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 56,191 | 15,946
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Estimated Fair Value | 56,191 | 15,946
U.S. treasury securities |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 248,081 | 61,896
Unrealized Gain | 0 | 0
Unrealized Loss | (217) | (158)
Estimated Fair Value | 247,864 | 61,738
Corporate debt securities |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 39,352 | 24,125
Unrealized Gain | 6 | 0
Unrealized Loss | (39) | (44)
Estimated Fair Value | 39,319 | 24,081
Cash Equivalents |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 167,584 | 90,770
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Estimated Fair Value | 167,584 | 90,770
Cash Equivalents | Money market funds |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 155,347 | 90,770
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Estimated Fair Value | 155,347 | $ 90,770
Cash Equivalents | Commercial paper |  |
Cash Equivalents and Short-term Investments [Abstract] |  |
Amortized Cost | 12,237 |
Unrealized Gain | 0 |
Unrealized Loss | 0 |
Estimated Fair Value | $ 12,237 |

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 of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=75030427&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82896770&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
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 investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.2) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=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_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |