XML 27 R15.htm IDEA: XBRL DOCUMENT v3.22.2
BASIC AND DILUTED NET INCOME (LOSS) PER ORDINARY SHARE
6 Months Ended
Jun. 30, 2022
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, 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,
2021
 2022202120222021
UnauditedUnauditedAudited
Net income (loss) attributable to ordinary shares as reported used in computing basic and diluted net income (loss) per share$(24,008)$(14,641)$(28,655)$(18,769)$(58,351)
Weighted average number of ordinary shares used in computing basic net income (loss) per share104,627,789 103,484,866 104,408,164 103,061,557 103,433,274 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share104,627,789 103,484,866 104,408,164 103,061,557 103,433,274 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation7,746,398 9,098,788 7,790,467 9,363,037 8,524,922 
Basic net income (loss) per ordinary share$(0.23)$(0.14)$(0.27)$(0.18)$(0.56)
Diluted net income (loss) per ordinary share$(0.23)$(0.14)$(0.27)$(0.18)$(0.56)