XML 104 R87.htm IDEA: XBRL DOCUMENT v3.22.0.1
Stock-Based Compensation - Additional Information (Details)
1 Months Ended 12 Months Ended
Jul. 31, 2019
shares
Jul. 31, 2015
shares
Mar. 31, 2015
shares
Sep. 30, 2014
Dec. 31, 2021
USD ($)
tranche
purchase_period
planPool
grantee
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
shares
Dec. 31, 2019
USD ($)
$ / shares
Aug. 31, 2014
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)         55,467,000 47,311,000    
Unvested options exercisable (in shares)         0 0    
Weighted-average grant-date fair value of stock options granted (in usd per share) | $ / shares         $ 27.72 $ 9.33 $ 8.27  
Total intrinsic value of options exercised | $         $ 106,100,000 $ 251,700,000 $ 37,800,000  
Total fair value of options vested | $         $ 36,400,000 104,800,000 9,500,000  
Warrants issued (in shares)         846,943      
Warrant, exercise price (in dollars per share) | $ / shares         $ 0.01      
Number of warrants exercised (in shares)         69,309      
Compensation expense recognized | $         $ 211,000,000 170,587,000 26,306,000  
Total unrecognized compensation cost | $         $ 175,800,000 280,100,000    
Weighted-average period of recognition         2 years 3 months 18 days      
Share-based compensation expense due to accelerated vesting | $         $ 35,700,000      
Number of grantees | grantee         53      
Annual contribution limit | $         $ 19,500      
Defined contribution expense | $         14,700,000 9,600,000 $ 8,500,000  
Stock-based compensation expense capitalized | $         $ 10,900,000 $ 6,500,000    
Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)         4,485,000 7,103,000    
Stock option plan, number of shares granted (in shares)         1,992,000 5,295,000    
Outstanding stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)         6,257,000 8,019,000    
Warrants                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Compensation expense recognized | $         $ 10,700,000      
2013 Equity Incentive Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Additional common stock shares reserved for issuance (in shares)     3,000,000          
Common stock reserved for issuance (in shares)     4,500,000          
Award vesting period     4 years          
2013 Equity Incentive Plan | Tranche One                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period     1 year          
Vesting award percentage     25.00%          
2013 Equity Incentive Plan | Tranche Two                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period     3 years          
Vesting award percentage     75.00%          
2013 Equity Incentive Plan | Maximum                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)     8,044,829          
Stock options granted, expiration period     10 years          
2014 Equity Incentive Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)   1,197,342           947,342
2014 Equity Incentive Plan | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock option plan, number of shares granted (in shares)   1,197,342            
Sunrun - VSI 2014 Equity Incentive Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock available for grant (in shares)         11,100,000      
2013 Omnibus Incentive Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock options granted, expiration period       10 years        
Long-term Incentive Plan 2013                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock available for grant (in shares)         0      
Long-term Incentive Plan 2013 | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Number of long-term incentive plan pools | planPool         6      
Shares awarded (in shares) 1,500,000              
Number of tranches | tranche         3      
Long-term Incentive Plan 2013 | Tranche One | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period         30 days      
Vesting award percentage         33.33%      
Long-term Incentive Plan 2013 | Tranche Two | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period         9 months      
Vesting award percentage         33.33%      
Long-term Incentive Plan 2013 | Tranche Three | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period         18 months      
Vesting award percentage         33.33%      
2015 Equity Incentive Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)   11,400,000            
Minimum annual automatic increase included in common stock reserved for future issuance as of first day of each fiscal year (in shares)   10,000,000            
Minimum percentage of annual automatic increase included in common stock reserved for future issuance as of last day of immediately preceding fiscal year   4.00%            
Additional common stock shares reserved for issuance (in shares)         8,056,251 4,738,048    
2015 Equity Incentive Plan | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   4 years            
2015 Equity Incentive Plan | Outstanding stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   4 years            
2015 Equity Incentive Plan | Tranche One | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   1 year            
Vesting award percentage   25.00%            
2015 Equity Incentive Plan | Tranche One | Outstanding stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   1 year            
Vesting award percentage   25.00%            
2015 Equity Incentive Plan | Tranche Two | Outstanding stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   3 years            
Vesting award percentage   75.00%            
2015 Equity Incentive Plan | Tranche Three | Restricted Stock Units (RSUs)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Award vesting period   3 years            
Vesting award percentage   75.00%            
2015 Equity Incentive Plan | Maximum                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)   15,439,334            
2015 Equity Incentive Plan | Maximum | Outstanding stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock options granted, expiration period   10 years            
Employee Stock Purchase Plan                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Common stock reserved for issuance (in shares)         1,000,000      
Minimum percentage of annual automatic increase included in common stock reserved for future issuance as of last day of immediately preceding fiscal year         2.00%      
Additional common stock shares reserved for issuance (in shares)         4,028,125 2,369,024    
Offering period         24 months      
Number of purchase periods | purchase_period         4      
Purchase period         6 months      
Maximum percentage in payroll deductions to acquire shares of common stock         15.00%      
Maximum deductible fair market value of shares available for employee to purchase per calendar year | $         $ 25,000      
Maximum number of shares available for employee to purchase per offering period (in shares)         10,000      
Maximum annual shares reserved for issuance (in shares)         5,000,000      
Sunrun 401 (k) | First threshold                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Employer matching contribution, percentage         100.00%      
Percent of pay matched         1.00%      
Sunrun 401 (k) | Second threshold                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Employer matching contribution, percentage         50.00%      
Percent of pay matched         5.00%      
Vivint Solar 401 (k)                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Employer matching contribution, percentage         33.00%      
Percent of pay matched         6.00%