Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Schedule of Reserve Share of Common Stock for Issuance (Details)

v3.22.4
Stockholders' Equity - Schedule of Reserve Share of Common Stock for Issuance (Details) - shares
Dec. 31, 2022
Dec. 31, 2021
Jul. 31, 2015
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 49,898,000 55,467,000  
Options outstanding      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 5,217,000 6,257,000  
Restricted stock units outstanding      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 4,542,000 4,485,000  
Sunrun-VSI 2014 Equity Incentive Plan | Employee Stock      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 9,534,000 11,084,000  
2015 Equity Incentive Plan      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares)     11,400,000
2015 Equity Incentive Plan | Employee Stock      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 20,534,000 22,371,000  
2015 Employee Stock Purchase Plan | Employee Stock      
Class of Stock [Line Items]      
Shares of common stock reserved for issuance (in shares) 10,071,000 11,270,000