Annual report pursuant to Section 13 and 15(d)

Acquisitions - Purchase Price (Details)

v3.20.4
Acquisitions - Purchase Price (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Oct. 08, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Business Acquisition [Line Items]        
Common stock, shares outstanding (in shares)   201,406,000 118,451,000  
Common stock, par value (in usd per share)   $ 0.0001 $ 0.0001  
Net loss   $ 173,394 $ (26,335) $ (26,657)
Vivint Solar        
Business Acquisition [Line Items]        
Common stock, shares outstanding (in shares) 126,313,816      
Exchange ratio 0.55      
Number of Sunrun shares issued 69,472,599      
Common stock, par value (in usd per share) $ 70.54      
Fair value of Sunrun common stock issued $ 4,900,597      
Fair value of replacement Sunrun stock options and restricted stock units 136,919      
Purchase price $ 5,037,516      
Transaction costs   25,500    
Revenue   81,300    
Net loss   $ 167,700