XML 51 R20.htm IDEA: XBRL DOCUMENT v3.22.2
Net Loss Per Share
6 Months Ended
Jun. 30, 2022
Earnings Per Share [Abstract]  
Net Loss Per Share Net Loss Per Share
Basic net loss per share is computed by dividing net loss by the weighted-average number of shares of common stock outstanding during the period. Diluted net loss per share is computed by giving effect to all potential shares of common stock, including those related to outstanding share-based awards and our convertible senior notes, to the extent dilutive. Basic and diluted net loss per share were the same for each period presented as the inclusion of all potential common stock outstanding would have been anti-dilutive.
The following table presents the calculation of basic and diluted net loss per share for the periods presented (in thousands, except per share data):
 Three Months Ended
June 30,
Six Months Ended
June 30,
2022202120222021
Net loss$(95,082)$(58,407)$(162,028)$(107,372)
Weighted-average shares used to compute basic and diluted net loss per share122,841 119,050 122,404 118,484 
Net loss per share, basic and diluted$(0.77)$(0.49)$(1.32)$(0.91)
 
The anti-dilutive securities excluded from the shares used to calculate diluted net loss per share are as follows (in thousands):
 As of June 30,
20222021
Shares subject to outstanding common stock options and employee stock purchase plan3,623 4,013 
RSUs and PRSUs6,589 4,801 
Shares related to convertible senior notes12,939 3,739 
 23,151 12,553 

Prior to the adoption of ASU 2020-06, we used the treasury stock method for calculating any potential dilutive effect of the conversion spread of our convertible senior notes on diluted net income per share, if applicable. The conversion spread had a dilutive impact on diluted net income per share when the average market price of our common stock for a given reporting period exceeded the initial conversion prices of $63.07 and $108.76 per share for the 2023 Notes and 2025 Notes, respectively.
After the adoption of ASU 2020-06, we use the if-converted method for calculating any potential dilutive effect of our convertible senior notes. Under this method, we calculate diluted net income per share assuming that all the convertible senior notes were converted solely into shares of common stock at the beginning of the reporting period. Based on the initial conversion price, potential dilution related to the 2023 Notes and 2025 Notes is approximately 2.4 million and 10.6 million shares, respectively. The potential impact upon the conversion of the convertible senior notes was excluded from the calculation of diluted net loss per share for the three and six months ended June 30, 2022 because the effect would have been anti-dilutive.