Quarterly Results of Operations-Unaudited - Quarterly Results of Operations (Detail) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Jan. 31, 2018 |
Oct. 31, 2017 |
Jul. 31, 2017 |
Apr. 30, 2017 |
Jan. 31, 2017 |
Oct. 31, 2016 |
Jul. 31, 2016 |
Apr. 30, 2016 |
Jan. 31, 2018 |
Jan. 31, 2017 |
Jan. 31, 2016 |
|
Quarterly Financial Information Disclosure [Abstract] | |||||||||||
Revenue | $ 22,945 | $ 23,430 | $ 17,225 | $ 16,667 | $ 23,812 | $ 19,961 | $ 18,452 | $ 21,570 | |||
Gross profit | 16,287 | 16,364 | 11,416 | 9,877 | 16,242 | 10,378 | 8,023 | 9,662 | $ 53,944 | $ 44,305 | $ 46,839 |
Operating expenses | 15,066 | 15,444 | 13,499 | 15,345 | 40,710 | 18,813 | 19,691 | 19,237 | 59,354 | 98,451 | 95,038 |
Net (loss) income | $ 20,618 | $ (220) | $ (1,529) | $ (5,371) | $ (27,376) | $ (8,082) | $ (26,884) | $ (8,907) | $ 13,498 | $ (71,249) | $ (47,697) |
(Loss) income per share | |||||||||||
Basic | $ 0.58 | $ 0.00 | $ (0.05) | $ (0.15) | $ (0.78) | $ (0.23) | $ (0.77) | $ (0.26) | $ 0.38 | $ (2.04) | $ (1.42) |
Diluted | $ 0.58 | $ 0.00 | $ (0.05) | $ (0.15) | $ (0.78) | $ (0.23) | $ (0.77) | $ (0.26) | $ 0.38 | $ (2.04) | $ (1.42) |
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense. No definition available.
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). Reference 1: http://www.xbrl.org/2003/role/presentationRef
|