XML 45 R34.htm IDEA: XBRL DOCUMENT v3.20.2
14. Net Income (Loss) Per Share (Tables)
6 Months Ended
Jun. 30, 2020
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The calculation of basic and diluted net income (loss) per share for the three and six months ended June 30, 2020 and 2019 was as follows (in thousands, except per share amounts):
Three Months Ended
June 30,
Six Months Ended
June 30,
2020201920202019
Basic net income (loss) per share
Numerator:
Net income (loss)$36,911  $(18,548) $127,615  $(86,147) 
Denominator:
Weighted-average common shares outstanding105,927  105,369  105,761  105,208  
Diluted net income (loss) per share
Denominator:
Weighted-average common shares outstanding105,927  105,369  105,761  105,208  
Effect of restricted and performance stock units and stock purchase plan shares
546  —  668  —  
Weighted-average shares used in computing diluted net income (loss) per share
106,473  105,369  106,429  105,208  
Net income (loss) per share:
Basic$0.35  $(0.18) $1.21  $(0.82) 
Diluted$0.35  $(0.18) $1.20  $(0.82) 
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following table summarizes the shares of common stock that were excluded from the computation of diluted net income (loss) per share for the three and six months ended June 30, 2020 and 2019 as such shares would have had an anti-dilutive effect (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2020201920202019
Anti-dilutive shares—  667  —  766