XML 26 R15.htm IDEA: XBRL DOCUMENT v3.22.1
Basic and diluted net income (loss) per ordinary share
3 Months Ended
Mar. 31, 2022
Earnings Per Share [Abstract]  
Basic and diluted net income (loss) per ordinary share Basic and diluted net income (loss) per ordinary 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 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 March 31,Year ended December 31,
2021
 20222021
UnauditedAudited
Net income (loss) attributable to ordinary shares as reported used in computing basic and diluted net income (loss) per share$(4,647)$(4,128)$(58,351)
Weighted average number of ordinary shares used in computing basic net income (loss) per share104,186,120 102,633,545 103,433,274 
Potentially dilutive shares that were excluded from the computation of basic net income (loss) per share:
Options— — — 
Restricted share units— — — 
ESPP— — — 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share104,186,120 102,633,545 103,433,274 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation7,874,118 9,734,269 8,524,922 
Basic net income (loss) per ordinary share$(0.04)$(0.04)$(0.56)
Diluted net income (loss) per ordinary share$(0.04)$(0.04)$(0.56)