XML 41 R25.htm IDEA: XBRL DOCUMENT v3.22.4
Basic and diluted net income (loss) per share
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Basic and diluted net income (loss) per share Basic and diluted net income (loss) per 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 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,
 202220212020
Net income (loss) attributable to ordinary shares as reported$(92,534)$(58,351)$19,808 
Net income (loss) used in computing basic net income (loss) per share$(92,534)$(58,351)$19,808 
Adjustment needed in calculating diluted net income (loss) per share— — — 
Net income (loss) used in computing diluted net income (loss) per share$(92,534)$(58,351)$19,808 
Weighted average number of ordinary shares used in computing basic net income (loss) per share104,660,476 103,433,274 100,930,866 
Potentially dilutive shares that were excluded from the computation of basic net income (loss) per share:
Options— — 6,967,554 
Restricted share units— — 945,612 
ESPP— — 33,616 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share104,660,476 103,433,274 108,877,648 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation7,272,606 8,524,922 1,307,762 
Basic net income (loss) per ordinary share$(0.88)$(0.56)$0.20 
Diluted net income (loss) per ordinary share$(0.88)$(0.56)$0.18