XML 27 R15.htm IDEA: XBRL DOCUMENT v3.21.2
Basic and Diluted Net Income (Loss) Per Ordinary Share
6 Months Ended
Jun. 30, 2021
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,
2020
 2021202020212020
UnauditedUnauditedAudited
Net income (loss) attributable to ordinary shares as reported used in computing basic and diluted net income (loss) per share$(14,641)$1,655 $(18,769)$5,607 $19,808 
Weighted average number of ordinary shares used in computing basic net income (loss) per share103,484,866 100,718,893 103,061,557 100,298,230 100,930,866 
Potentially dilutive shares that were excluded from the computation of basic net income (loss) per share:
Options— 6,340,304 — 6,721,178 6,967,554 
Restricted share units— 555,530 — 845,424 945,612 
ESPP— 33,075 — 33,075 33,616 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share103,484,866 107,647,802 103,061,557 107,897,907 108,877,648 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation9,098,788 1,148,420 9,363,037 598,533 1,307,762 
Basic net income (loss) per ordinary share$(0.14)$0.02 $(0.18)$0.06 $0.20 
Diluted net income (loss) per ordinary share$(0.14)$0.02 $(0.18)$0.05 $0.18