v3.25.1

Net income (loss) per share | 12 Months Ended
--- | ---
Jan. 31, 2025
Earnings Per Share [Abstract] |
Net income (loss) per share | Net income (loss) per share The following table sets forth the computation of basic and diluted net income (loss) per share:
| Year ended January 31,
(in thousands, except per share data) | 2025 |  | 2024 |  | 2023
Numerator (basic and diluted): |  |  |  |  |
Net income (loss) | $ | 96,703 |  |  | $ | 55,712 |  |  | $ | (26,143) |
Denominator (basic): |  |  |  |  |
Weighted-average common shares outstanding | 86,870 |  |  | 85,564 |  |  | 84,442 |
Denominator (diluted): |  |  |  |  |
Weighted-average common shares outstanding | 86,870 |  |  | 85,564 |  |  | 84,442 |
Weighted-average dilutive effect of stock options and restricted stock units | 1,958 |  |  | 1,393 |  |  | — |
Diluted weighted-average common shares outstanding | 88,828 |  |  | 86,957 |  |  | 84,442 |
Net income (loss) per share: |  |  |  |  |
Basic | $ | 1.11 |  |  | $ | 0.65 |  |  | $ | (0.31) |
Diluted | $ | 1.09 |  |  | $ | 0.64 |  |  | $ | (0.31) |
For the fiscal years ended January 31, 2025, 2024 and 2023, 0.1 million, 0.6 million, and 2.5 million shares, respectively, attributable to outstanding stock options and restricted stock units were excluded from the calculation of diluted net income (loss) per share as their inclusion would have been anti-dilutive.

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 The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/260/tableOfContent Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-3 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration