XML 55 R37.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income Per Share (Tables)
12 Months Ended
Dec. 31, 2021
Table Text Blocks  
Schedule of net income (loss) and the number of shares used to compute basic and diluted net income (loss) per share

Year Ended December 31,

2021

2020

    

2019

Net income (loss) - basic and diluted

$

(644,085)

$

313,882

    

$

(347,694)

Weighted average shares outstanding - basic

58,518

54,534

47,829

Effect of dilutive securities:

Stock options

1,303

Restricted stock units

331

Weighted average shares outstanding - diluted

58,518

56,168

47,829

Net income (loss) per share - basic

$

(11.01)

$

5.76

$

(7.27)

Net income (loss) per share - diluted

(11.01)

5.59

(7.27)

Schedule of common stock equivalents excluded from calculation of diluted net loss per share applicable to common stockholders

Year Ended December 31,

 

    

2021

    

2020

2019

 

Stock options

 

5,682

 

4,480

 

5,796

Restricted stock units

 

1,590

 

13

 

420

ESPP shares

24

19

14

Total

 

7,296

 

4,512

6,230