v3.20.1

Net income per share (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2020
Earnings Per Share [Abstract] |
Schedule of Earnings Per Share, Basic and Diluted | The following table sets forth the computation of basic and diluted net income per share:
|  | Year ended January 31, |  |  |  |
(in thousands, except per share data) |  | 2020 |  | 2019 |  | 2018
Numerator (basic and diluted): |  |  |  |  |  |  |  |  |  |  |  |
Net income |  |  | $ | 39,664 |  |  |  | $ | 73,899 |  |  |  | $ | 47,362 |
Denominator (basic): |  |  |  |  |  |
Weighted-average common shares outstanding |  |  | 67,026 |  |  |  | 61,836 |  |  |  | 60,304 |
Denominator (diluted): |  |  |  |  |  |  |  |  |  |  |  |
Weighted-average common shares outstanding |  |  | 67,026 |  |  |  | 61,836 |  |  |  | 60,304 |
Weighted-average dilutive effect of stock options and restricted stock units |  |  | 1,427 |  |  |  | 1,534 |  |  |  | 1,550 |
Diluted weighted-average common shares outstanding |  |  | 68,453 |  |  |  | 63,370 |  |  |  | 61,854 |
Net income per share: |  |  |  |  |  |  |  |  |  |  |  |
Basic |  |  | $ | 0.59 |  |  |  | $ | 1.20 |  |  |  | $ | 0.79 |
Diluted |  |  | $ | 0.58 |  |  |  | $ | 1.17 |  |  |  | $ | 0.77 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration