XML 26 R15.htm IDEA: XBRL DOCUMENT v3.23.2
Basic and diluted net income (loss) per ordinary share
6 Months Ended
Jun. 30, 2023
Earnings Per Share [Abstract]  
Basic and diluted net income (loss) per ordinary share Basic and diluted net income (loss) per ordinary shareBasic 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 "Earnings Per Share", as determined under the if-converted method. The following table sets forth the computation of the Company’s basic and diluted net income (loss) per ordinary share:
 Three months ended June 30,Six months ended June 30,Year ended December 31,
2022
 2023202220232022
UnauditedUnauditedAudited
Net income (loss) attributable to ordinary shares as reported used in computing basic and diluted net income (loss) per share$(57,418)$(24,008)$(110,479)$(28,655)$(92,534)
Weighted average number of ordinary shares used in computing basic and diluted net income (loss) per share106,289,073 104,627,789 105,979,791 104,408,164 104,660,476 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation8,483,336 7,746,398 7,733,239 7,790,467 7,272,606 
Basic and diluted net income (loss) per ordinary share$(0.54)$(0.23)$(1.04)$(0.27)$(0.88)