XML 43 R24.htm IDEA: XBRL DOCUMENT v3.20.4
Basic and Diluted Net Income (Loss) Per Share
12 Months Ended
Dec. 31, 2020
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,
 202020192018
Net income (loss) attributable to ordinary shares as reported$19,808 $(7,230)$(63,559)
Net income (loss) used in computing basic net income (loss) per share$19,808 $(7,230)$(63,559)
Adjustment needed in calculating diluted net income (loss) per share— — — 
Net income (loss) used in computing diluted net income (loss) per share$19,808 $(7,230)$(63,559)
Weighted average number of ordinary shares used in computing basic net income (loss) per share100,930,866 97,237,549 91,828,043 
Potentially dilutive shares that were excluded from the computation of basic net income (loss) per share:
Options6,967,554 — — 
Restricted share units945,612 — — 
ESPP33,616 — — 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share108,877,648 97,237,549 91,828,043 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation1,307,762 10,230,982 9,341,735 
Basic net income (loss) per ordinary share$0.20 $(0.07)$(0.69)
Diluted net income (loss) per ordinary share$0.18 $(0.07)$(0.69)