XML 31 R51.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
THE COMPANY AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Net income (loss) per share and Segment reporting (Details)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2019
USD ($)
segment
$ / shares
shares
Dec. 31, 2018
USD ($)
$ / shares
shares
Dec. 31, 2017
USD ($)
$ / shares
shares
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
Net income (loss) | $ $ 205,095 $ 134,258 $ (19,425)
Basic and diluted shares:      
Weighted average ordinary shares outstanding (in shares) 54,946 52,863 50,310
Effect of dilutive shares (in shares) 1,716 1,783 0
Shares used to compute diluted net income (loss) per share (in shares) 56,662 54,646 50,310
Net income (loss) per share - basic (in USD per share) | $ / shares $ 3.73 $ 2.54 $ (0.39)
Net income (loss) per share - diluted (in USD per share) | $ / shares $ 3.62 $ 2.46 $ (0.39)
Antidilutive securities excluded from computation of earnings per share (in shares) 100 200 4,500
Segment reporting      
Number of reportable segments | segment 1