XML 188 R30.htm IDEA: XBRL DOCUMENT v3.20.4
Net Income (Loss) Per Share
12 Months Ended
Dec. 31, 2020
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share Basic net income (loss) per share is calculated by dividing net income (loss) by the weighted average number of shares outstanding during each period. Diluted net income (loss) per share is calculated by dividing net income (loss) - diluted by the diluted number of shares outstanding during each period. Except where the result would be anti-dilutive to net income (loss), diluted net income (loss) per share would be calculated assuming the impact of the conversion of the 2023 Notes, the
conversion of our preferred shares, the exercise of outstanding equity compensation awards, and ordinary shares expected to be issued under our ESPP.

We have a choice to settle the conversion obligation under the 2023 Notes in cash, shares or any combination of the two. We utilize the if-converted method to reflect the impact of the conversion of the 2023 Notes, unless the result is anti-dilutive. This method assumes the conversion of the 2023 Notes into shares of our ordinary shares and reflects the elimination of the interest expense related to the 2023 Notes.

The dilutive effect of the warrants, stock options, restricted stock units, preferred shares and ordinary shares expected to be issued under or ESPP has been calculated using the treasury stock method. The dilutive effect of the PSUs will be calculated using the treasury stock method, if and when the contingent vesting condition is achieved.

A reconciliation of basic and diluted net income (loss) per share, together with the related shares outstanding in thousands for the years ended December 31, 2020, 2019 and 2018, is as follows:   
Net Income (Loss) Per Share: 202020192018
Net income (loss)$7,028 $(33,226)$(95,304)
Weighted average shares:   
Basic shares52,996 37,403 37,325 
Effect of dilutive securities—employee and director equity awards outstanding1,945 — — 
Diluted shares54,941 37,403 37,325 
Net income (loss) per share - basic$0.13 $(0.89)$(2.55)
Net income (loss) per share - diluted$0.13 $(0.89)$(2.55)
Potential ordinary shares of 14,915, 16,740, and 17,529 were excluded from the calculation of weighted average shares for the years ended December 31, 2020, 2019 and 2018, respectively, because either their effect was considered to be anti-dilutive or they were related to shares from PSUs for which the contingent vesting condition had not been achieved. For the years ended December 31, 2019 and 2018, the effects of dilutive securities were entirely excluded from the calculation of net income (loss) per share as a net loss was reported in these periods.