XML 23 R13.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Net Income (Loss) Per Share | 6 Months Ended
--- | ---
Jan. 31, 2022
Earnings Per Share [Abstract] |
Net Income (Loss) Per Share | Net Income (Loss) Per Share The Company calculates basic earnings per share by dividing the net income (loss) by the weighted average number of shares of common stock outstanding for the period. The diluted earnings per share is computed by giving effect to all potentially dilutive common stock equivalents outstanding for the period using the treasury stock method. For purposes of this calculation, options to purchase common stock, stock awards, and the Convertible Senior Notes are considered to be common stock equivalents. The following table sets forth the computation of the Company’s basic and diluted net income (loss) per share (in thousands except share and per share amounts):
| Three Months Ended January 31, |  | Six Months Ended January 31,
| 2022 |  | 2021 |  | 2022 |  | 2021
Numerator: |  |  |  |  |  |  |
Net income (loss) | $ | (40,681) |  |  | $ | (8,652) |  |  | $ | (91,957) |  |  | $ | (28,842) |
Net income (loss) per share: |  |  |  |  |  |  |
Basic | $ | (0.49) |  |  | $ | (0.10) |  |  | $ | (1.10) |  |  | $ | (0.34) |
Diluted | $ | (0.49) |  |  | $ | (0.10) |  |  | $ | (1.10) |  |  | $ | (0.34) |
Denominator: |  |  |  |  |  |  |
Weighted average shares used in computing net income (loss) per share: |  |  |  |  |  |  |
Basic and diluted | 83,413,643 |  |  | 83,830,624 |  |  | 83,430,693 |  |  | 83,737,889 |
The following weighted average shares of potential common stock were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have been anti-dilutive:
| Three Months Ended January 31, |  | Six Months Ended January 31,
| 2022 |  | 2021 |  | 2022 |  | 2021
Stock options | 20,216 |  |  | 35,724 |  |  | 22,458 |  | 48,598 |
Stock awards | 3,268,003 |  |  | 3,020,497 |  |  | 3,126,378 |  |  | 2,899,553 |
Convertible senior notes | — |  |  | 209,722 |  |  | 66,834 |  |  | 104,861 |
Since the Company has the intent and ability to settle the principal amount of the Convertible Senior Notes in cash and any excess in shares of the Company’s common stock, the Company uses the treasury stock method for calculating any potential dilutive effect of the conversion spread on net income per share, if applicable. The conversion spread will have a dilutive impact on net income (loss) per share when the average market price of the Company’s common stock for a given period exceeds the conversion price of $113.75 per share for the Convertible Senior Notes. During the three months ended January 31, 2022, the average market price of the Company's common stock did not exceed the conversion price for the Convertible Senior Notes.

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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration