Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation

v3.21.2
Stock-Based Compensation
6 Months Ended
Jun. 30, 2021
Share-based Payment Arrangement [Abstract]  
Stock-Based Compensation Stock-Based Compensation
Stock Options
The following table summarizes the activity for all stock options under all of the Company’s equity incentive plans for the six months ended June 30, 2021 (shares and aggregate intrinsic value in thousands):
Number of Options Weighted Average Exercise Price Weighted Average Remaining Contractual Life Aggregate Intrinsic Value
Outstanding at December 31, 2020 8,019  $ 10.35  6.87 $ 473,371 
Granted 275  52.28 
Exercised (1,349) 8.69 
Cancelled (219) 17.91 
Outstanding at June 30, 2021 6,726  $ 12.23  6.53 $ 293,669 
Options vested and exercisable at June 30, 2021 4,385  $ 7.80  5.47 $ 210,495 
Restricted Stock Units
The following table summarizes the activity for all restricted stock units (“RSUs”) under all of the Company’s equity incentive plans for the six months ended June 30, 2021 (shares in thousands):
Number of Awards Weighted Average Grant Date Fair Value
Unvested balance at December 31, 2020 7,103  $ 40.17 
Granted 1,078  48.66 
Issued (2,175) 38.44 
Cancelled / forfeited (413) 29.83 
Unvested balance at June 30, 2021 5,593  $ 43.34 
Warrants for Strategic Partners
During the quarter ended June 30, 2021,the Company issued warrants exercisable for up to 373,504 shares of its common stock to certain strategic partners (calculated using the closing stock price of $55.78 on June 30, 2021). The exercise price of the warrants is $0.01 per share, and no exercises occurred during the six months ended June 30, 2021. During the three and six months ended June 30, 2021, the Company recognized stock-based compensation expense of $1.0 million and $2.0 million based on time and performance milestones achieved under such warrants during the respective timeframes.
Employee Stock Purchase Plan
Under the Company's 2015 Employee Stock Purchase Plan ("ESPP"), eligible employees are offered shares bi-annually through a 24-month offering period that encompasses four six-month purchase periods. Each purchase period begins on the first trading day on or after May 15 and November 15 of each year. Employees may purchase a limited number of shares of the Company’s common stock via regular payroll deductions at a discount of 15% of the lower of the fair market value of the Company’s common stock on the first trading date of each offering period or on the exercise date. Employees may deduct up to 15% of payroll, with a cap of $25,000 of fair market value of shares in any calendar year and 10,000 shares per employee per purchase period.
Stock-Based Compensation Expense
The Company recognized stock-based compensation expense, including ESPP expenses, in the consolidated statements of operations as follows (in thousands):
Three Months Ended June 30, Six Months Ended June 30,
2021 2020 2021 2020
Cost of customer agreements and incentives $ 1,992  $ 930  $ 4,224  $ 2,876 
Cost of solar energy systems and product sales
1,045  270  2,349  943 
Sales and marketing 23,227  1,821  50,333  5,299 
Research and development 803  466  1,479  1,541 
General and administration 16,396  6,895  63,107  18,668 
Total $ 43,463  $ 10,382  $ 121,492  $ 29,327 
During the three and six months ended June 30, 2021, stock-based compensation expense capitalized to solar energy systems, net in the Company’s consolidated balance sheet was $2.9 million and $5.5 million, respectively.