BUSINESS COMBINATIONS - Calm Acquisition (Details) - USD ($) $ in Thousands |
Aug. 22, 2016 |
Jan. 31, 2017 |
Jul. 31, 2016 |
|---|---|---|---|
| Business Acquisition [Line Items] | |||
| Goodwill | $ 16,784 | $ 0 | |
| Calm Acquisition | |||
| Business Acquisition [Line Items] | |||
| Consideration transferred | $ 7,700 | ||
| Business acquisition equity issued (in shares) | 528,517 | ||
| Cash payment to acquire business | $ 1,400 | ||
| Goodwill | 4,800 | ||
| Intangible assets | $ 4,000 | ||
| Estimated Life (in years) | 4 years 10 months | ||
| Acquisition related costs | $ 600 |