XML 42 R32.htm IDEA: XBRL DOCUMENT v3.8.0.1
Cash Equivalents and Short-Term Investments - Narrative (Details)
3 Months Ended 9 Months Ended 12 Months Ended
Oct. 31, 2017
USD ($)
investment
Oct. 31, 2016
USD ($)
Oct. 31, 2017
USD ($)
investment
Oct. 31, 2016
USD ($)
Jan. 31, 2017
USD ($)
investment
Investments, Debt and Equity Securities [Abstract]          
Number of short-term investments in unrealized loss positions | investment 17   17   5
Gross unrealized gains or lesses from available-for-sale securities $ 0 $ 0 $ 0 $ 0  
Realized gains or losses reclassified out of accumulated other comprehensive income $ 0 $ 0 0 $ 0  
Other-than-temporary impairment short term investment     $ 0   $ 0