Condensed Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
[1]
Stock-based compensation $ 17,011 $ 11,788
Cost of subscription services [Member]    
Stock-based compensation 345 342
Cost of professional services and other [Member]    
Stock-based compensation 2,328 1,689
Research and development [Member]    
Stock-based compensation 4,667 3,802
Sales and marketing [Member]    
Stock-based compensation 4,088 3,847
General and administrative [Member]    
Stock-based compensation $ 5,583 $ 2,108
[1] See note 1 of the notes to the condensed consolidated financial statements for a summary of adjustments.