Basic and diluted net income (loss) per share |
Basic and diluted net income (loss) per share Basic net income (loss) per share is computed based on the weighted average number of ordinary shares outstanding during each period. Diluted net income per share is computed based on the weighted average number of ordinary shares outstanding during the period, plus potential dilutive shares (deriving from options, RSUs, PSUs, convertible notes and the ESPP) considered outstanding during the period, in accordance with ASC 260-10, as determined under the treasury stock method. The following table sets forth the computation of the Company’s basic and diluted net loss per ordinary share: | | | | | | | | | | | | | | | | | | | Year ended December 31, | | 2023 | | 2022 | | 2021 | Net income (loss) attributable to ordinary shares as reported | $ | (207,043) | | | $ | (92,534) | | | $ | (58,351) | | | | | | | | Net income (loss) used in computing basic net income (loss) per share | $ | (207,043) | | | $ | (92,534) | | | $ | (58,351) | | Adjustment needed in calculating diluted net income (loss) per share | — | | | — | | | — | | Net income (loss) used in computing diluted net income (loss) per share | $ | (207,043) | | | $ | (92,534) | | | $ | (58,351) | | | | | | | | Weighted average number of ordinary shares used in computing basic and diluted net income (loss) per share | 106,391,178 | | | 104,660,476 | | | 103,433,274 | | Potentially dilutive shares that were excluded from the computation of basic and diluted net income (loss) per share: | | | | | | Options | 6,950,781 | | | 6,387,275 | | | 7,201,495 | | RSUs and PSUs | 1,423,377 | | | 822,421 | | | 1,017,799 | | Conversion of convertible note | — | | | — | | | 262,903 | | ESPP | 161,627 | | | 62,910 | | | 42,725 | | | | | | | | | | | | | | Weighted anti-dilutive shares outstanding which were not included in the diluted calculation | 8,535,785 | | | 7,272,606 | | | 8,524,922 | | | | | | | | Basic and diluted net income (loss) per ordinary share | $ | (1.95) | | | $ | (0.88) | | | $ | (0.56) | | | | | | | | | | | | | |
|