CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Apr. 30, 2018 |
Apr. 30, 2017 |
|
| Statement of Comprehensive Income [Abstract] | ||
| Net loss | $ (29,164) | $ (19,690) |
| Other comprehensive (loss) income, net of tax: | ||
| Unrealized loss on available-for-sale securities | (82) | (9) |
| Foreign currency translation adjustments | (33) | 67 |
| Other comprehensive (loss) income | (115) | 58 |
| Total comprehensive loss | $ (29,279) | $ (19,632) |