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

The Company has a choice to settle the conversion obligation under the 2023 Notes in cash, shares or any combination of the two. The Company utilizes 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 the Company’s ordinary shares and reflects the elimination of the interest expense related to the 2023 Notes.

The dilutive effect of the stock options, restricted stock units, preferred shares and ordinary shares expected to be issued under the Company’s 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 (loss) income per share, together with the related shares outstanding in thousands for the years ended December 31, 2021, 2020 and 2019, is as follows:   
Net (Loss) Income Per Share: 202120202019
Net (loss) income$(77,329)$7,028 $(33,226)
Weighted average shares:   
Basic shares58,535 52,996 37,403 
Effect of dilutive securities—employee and director equity awards outstanding— 1,945 — 
Diluted shares58,535 54,941 37,403 
Net (loss) income per share - basic$(1.32)$0.13 $(0.89)
Net (loss) income per share - diluted$(1.32)$0.13 $(0.89)
Potential ordinary shares of 15,327, 14,915, and 16,740 were excluded from the calculation of weighted average shares for the years ended December 31, 2021, 2020 and 2019, 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, 2021 and 2019, the effects of dilutive securities were entirely excluded from the calculation of net (loss) income per share as a net loss was reported in these periods.