XML 43 R32.htm IDEA: XBRL DOCUMENT v3.7.0.1
Cash Equivalents and Short-Term Investments - Narrative (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jul. 31, 2017
USD ($)
investment
Jul. 31, 2016
USD ($)
Jul. 31, 2017
USD ($)
investment
Jul. 31, 2016
USD ($)
Jan. 31, 2017
USD ($)
investment
Investments, Debt and Equity Securities [Abstract]          
Number of short-term investments in unrealized loss positions | investment 15   15   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