XML 26 R15.htm IDEA: XBRL DOCUMENT v3.22.2.2
BASIC AND DILUTED NET INCOME (LOSS) PER ORDINARY SHARE
9 Months Ended
Sep. 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 September 30,Nine months ended September 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$(26,576)$(13,124)$(55,231)$(31,893)$(58,351)
Weighted average number of ordinary shares used in computing basic net income (loss) per share104,884,583 103,731,147 104,552,803 103,281,380 103,433,274 
Weighted average number of ordinary shares used in computing diluted net income (loss) per share104,884,583 103,731,147 104,552,803 103,281,380 103,433,274 
Weighted anti-dilutive shares outstanding which were not included in the diluted calculation7,289,441 8,084,045 7,668,684 8,827,739 8,524,922 
Basic net income (loss) per ordinary share$(0.25)$(0.13)$(0.53)$(0.31)$(0.56)
Diluted net income (loss) per ordinary share$(0.25)$(0.13)$(0.53)$(0.31)$(0.56)