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

Net Income (Loss) Per Share | 3 Months Ended
--- | ---
Oct. 31, 2021
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 October 31, |  |
| 2021 |  | 2020 |  |  |  |
Numerator: |  |  |  |  |  |  |
Net income (loss) | $ | (51,276) |  |  | $ | (20,190) |  |  |  |  |
Net income (loss) per share: |  |  |  |  |  |  |
Basic | $ | (0.62) |  |  | $ | (0.24) |  |  |  |  |
Diluted | $ | (0.62) |  |  | $ | (0.24) |  |  |  |  |
Denominator: |  |  |  |  |  |  |
Weighted average shares used in computing net income (loss) per share: |  |  |  |  |  |  |
Basic | 83,225,743 |  |  | 83,613,287 |  |  |  |  |
Diluted | 83,225,743 |  |  | 83,613,287 |  |  |  |  |
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 October 31, |  |
| 2021 |  | 2020 |  |  |  |
Stock options | 24,700 |  |  | 61,472 |  |  |  |  |
Stock awards | 2,905,346 |  |  | 2,263,076 |  |  |  |  |
Convertible senior notes | 133,668 |  |  | — |  |  |  |  |
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 October 31, 2021, the average market price of the Company's common stock exceeded 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