XML 33 R19.htm IDEA: XBRL DOCUMENT v3.22.2.2
Net Income (Loss) per Ordinary Share
9 Months Ended
Sep. 30, 2022
Earnings Per Share [Abstract]  
Net Income (Loss) per Ordinary Share Net Income (Loss) per Ordinary Share
Basic net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding. Diluted net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding and potentially dilutive ordinary shares outstanding.
Basic and diluted net income (loss) per ordinary share were computed as follows (in thousands, except per share amounts):
Three Months Ended
September 30,
Nine Months Ended
September 30,
2022202120222021
Numerator:
Net income (loss)$(19,648)$(52,833)$16,664 $(294,317)
Denominator:
Weighted-average ordinary shares used in per share calculations - basic62,785 61,284 62,365 59,084 
Dilutive effect of employee equity incentive and purchase plans— — 1,023 — 
Weighted-average ordinary shares used in per share calculations - diluted62,785 61,284 63,388 59,084 
Net income (loss) per ordinary share:
Basic$(0.31)$(0.86)$0.27 $(4.98)
Diluted$(0.31)$(0.86)$0.26 $(4.98)
Potentially dilutive ordinary shares from our employee equity incentive and purchase plans are determined by applying the treasury stock method to the assumed exercise of share options, the assumed vesting of outstanding Restricted Stock Units, or RSUs, and Performance-based restricted stock units, or PRSUs, and the assumed issuance of ordinary shares under our employee stock purchase plan, or ESPP. Potentially dilutive ordinary shares from the Exchangeable Senior Notes are determined by applying the if-converted method to the assumed issuance of ordinary shares upon exchange of the Exchangeable Senior Notes. The potential issue of ordinary shares upon exchange of the Exchangeable Senior Notes was anti-dilutive and had no impact on diluted net income (loss) per ordinary share for the three and nine months ended September 30, 2022.
The following table represents the weighted-average ordinary shares that were excluded from the calculation of diluted net income (loss) per ordinary share for the periods presented because including them would have an anti-dilutive effect (in thousands):
 Three Months Ended
September 30,
Nine Months Ended
September 30,
 2022202120222021
Exchangeable Senior Notes9,044 9,579 9,044 9,952 
Employee equity incentive and purchase plans2,194 4,302 1,904 3,375