XML 24 R12.htm IDEA: XBRL DOCUMENT v3.20.2
Earnings (Loss) Per Share
9 Months Ended
Sep. 30, 2020
Earnings Per Share [Abstract]  
Earnings (Loss) Per Share Earnings (Loss) Per Share
Basic earnings (loss) per share is calculated by dividing the net income (loss) by the weighted-average number of common shares outstanding during the period. Diluted earnings per share is calculated by dividing the earnings by the weighted-average number of common shares and potentially dilutive securities outstanding during the period. Potentially dilutive common shares consist of incremental common shares issuable upon exercise of stock options, employee stock purchases, restricted stock and restricted stock units and shares issuable upon the conversion of convertible notes. The dilutive effect of outstanding shares is reflected in diluted earnings per share by application of the treasury stock method. This method includes consideration of the amounts to be paid by the employees and the amount of unrecognized stock-based compensation related to future services. No potential dilutive common shares are included in the computation of any diluted per share amount when a net loss is reported.
The following table sets forth the computation of basic and diluted net income (loss) per share (in thousands, except per share amounts):
 Three Months Ended September 30,Nine Months Ended September 30,
 2020201920202019
Net loss per share:
Numerator:  
Net loss$(12,779)$(17,331)$(31,543)$(80,887)
Denominator:
Weighted-average shares outstanding - basic113,828111,315113,437110,633
Effect of potential dilutive common shares— — — — 
Weighted-average shares outstanding - diluted113,828111,315113,437110,633
Basic net loss per share$(0.11)$(0.16)$(0.28)$(0.73)
Diluted net loss per share$(0.11)$(0.16)$(0.28)$(0.73)
For the three months ended September 30, 2020 and 2019, options to purchase approximately 0.4 million and 1.0 million shares, respectively, and for the nine months ended September 30, 2020 and 2019, options to purchase approximately 0.4 million and 1.2 million shares, respectively, were excluded from the calculation because they were anti-dilutive after considering proceeds from exercise and related unrecognized stock-based compensation expense. For the three months ended September 30, 2020 and 2019, an additional 2.0 million and 2.5 million shares, respectively, and for the nine months ended September 30, 2020 and 2019, an additional 2.2 million and 2.0 million shares, respectively, were excluded from the weighted-average dilutive shares because there was a net loss position for the periods.