| Schedule of Computation of Basic and Diluted Net Earnings (Loss) Per Share |
| |
|
Year ended December 31, |
|
| |
|
2023 |
|
|
2022 |
|
|
2021 |
|
|
Basic: |
|
|
|
|
|
|
|
|
|
|
Numerator: |
|
|
|
|
|
|
|
|
|
|
Net income |
|
$ |
34,329
|
|
|
$ |
93,779
|
|
|
$ |
169,170
|
|
|
Denominator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares used in computing net EPS of common stock, basic |
|
|
56,557,106
|
|
|
|
55,087,770
|
|
|
|
52,202,182
|
|
|
Diluted: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Numerator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income attributable to common stock, basic |
|
$ |
34,329
|
|
|
$ |
93,779
|
|
|
$ |
169,170
|
|
|
Notes due 2025 |
|
|
-
|
|
|
|
2,203
|
|
|
|
2,134
|
|
|
Net income attributable to common stock, diluted |
|
$ |
34,329
|
|
|
$ |
95,982
|
|
|
$ |
171,304
|
|
|
Denominator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares used in computing net EPS of common stock, basic |
|
|
56,557,106
|
|
|
|
55,087,770
|
|
|
|
52,202,182
|
|
|
Notes due 2025 |
|
|
-
|
|
|
|
2,276,818
|
|
|
|
2,276,818
|
|
|
Effect of stock-based awards |
|
|
680,412
|
|
|
|
736,061
|
|
|
|
1,492,030
|
|
|
Shares used in computing net EPS of common stock, diluted |
|
|
57,237,518
|
|
|
|
58,100,649
|
|
|
|
55,971,030
|
|
|
Earnings per share: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic |
|
$ |
0.61
|
|
|
$ |
1.70
|
|
|
$ |
3.24
|
|
|
Diluted |
|
$ |
0.60
|
|
|
$ |
1.65
|
|
|
$ |
3.06
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares excluded from the calculation of net diluted due to their anti-dilutive effect |
|
|
1,994,328
|
|
|
|
207,980
|
|
|
|
132,133
|
|
|