XML 65 R53.htm IDEA: XBRL DOCUMENT
v3.25.3

Indebtedness - Schedule of Debt (Details) $ / shares in Units, $ in Thousands, shares in Millions | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Sep. 30, 2025 USD ($) $ / shares | Sep. 30, 2024 USD ($) | Sep. 30, 2025 USD ($) $ / shares shares | Sep. 30, 2024 USD ($) | Dec. 31, 2024 USD ($) $ / shares | Oct. 31, 2024 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, net | $ 14,627,043 |  | $ 14,627,043 |  | $ 12,901,492 |
Unused borrowing capacity | $ 87,300 |  | $ 87,300 |  |  |
Common stock, par value (in dollars per share) | $ / shares | $ 0.0001 |  | $ 0.0001 |  | $ 0.0001 |
Debt discount amortization | $ 513 | $ 0 | $ 1,800 | $ 0 |  |
Recourse debt |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | 807,854 |  | 807,854 |  | $ 875,100 |
Unamortized debt discount | (9,953) |  | (9,953) |  | (11,454) |
Total debt, net | 797,901 |  | 797,901 |  | 863,646 |
Unused borrowing capacity | 0 |  | 0 |  |  |
Recourse debt | Bank Line Of Credit |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | 319,210 |  | 319,210 |  | $ 384,226 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 8.07% |  | 8.07% |  | 8.45% |
Line of credit, maximum borrowing capacity |  |  |  |  |  | $ 447,500
Recourse debt | Bank Line Of Credit | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 3.25% |  |  |
Recourse debt | Bank Line Of Credit | Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 3.75% |  |  |
Recourse debt | Bank Line Of Credit | Federal Funds Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 0.50% |  | 0.50% |  |  |
Recourse debt | Bank Line Of Credit | Prime Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 1.00% |  | 1.00% |  |  |
Recourse debt | 0% Convertible Senior Notes |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 5,457 |  | $ 5,457 |  | $ 7,687 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 0.00% |  | 0.00% |  | 0.00% |
Interest rate | 0.00% |  | 0.00% |  |  |
Recourse debt | 0% Convertible Senior Notes | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 0.00% |  |  |
Recourse debt | 4% Convertible Senior Notes |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 483,187 |  | $ 483,187 |  | $ 483,187 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 4.00% |  | 4.00% |  | 4.00% |
Interest rate | 4.00% |  | 4.00% |  |  |
Recourse debt | 4% Convertible Senior Notes | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 4.00% |  |  |
Recourse debt | Line of Credit | Base Rate | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 2.25% |  | 2.25% |  |  |
Recourse debt | Line of Credit | Base Rate | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 2.75% |  | 2.75% |  |  |
Non Recourse Debt |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 13,990,202 |  | $ 13,990,202 |  | $ 12,155,441 |
Total debt, net | 13,829,142 |  | 13,829,142 |  | 12,037,846 |
Unused borrowing capacity | 87,300 |  | 87,300 |  |  |
Non Recourse Debt | Senior revolving and delayed draw loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | 1,897,800 |  | 1,897,800 |  | $ 2,412,400 |
Unused borrowing capacity | $ 87,300 |  | $ 87,300 |  |  |
Weighted average interest rate | 6.97% |  | 6.97% |  | 7.24% |
Aggregate principal amount | $ 2,900,000 |  | $ 2,900,000 |  |  |
Non Recourse Debt | Senior revolving and delayed draw loans | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 2.35% |  |  |
Non Recourse Debt | Senior revolving and delayed draw loans | Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 3.10% |  |  |
Non Recourse Debt | Senior non-revolving loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | 2,683,400 |  | $ 2,683,400 |  | $ 2,325,558 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 6.29% |  | 6.29% |  | 6.66% |
Non Recourse Debt | Senior non-revolving loans | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 4.66% |  |  |
Non Recourse Debt | Senior non-revolving loans | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 6.93% |  |  |
Non Recourse Debt | Senior non-revolving loans | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 1.90% |  |  |
Non Recourse Debt | Senior non-revolving loans | Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 2.25% |  |  |
Non Recourse Debt | Subordinated revolving and delayed draw loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 35,400 |  | $ 35,400 |  | $ 20,400 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 13.35% |  | 13.35% |  | 13.62% |
Non Recourse Debt | Subordinated revolving and delayed draw loans | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 9.10% |  |  |
Non Recourse Debt | Subordinated Loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 3,245,172 |  | $ 3,245,172 |  | $ 2,691,534 |
Total debt, net | 158,900 |  | 158,900 |  |  |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 9.48% |  | 9.48% |  | 9.36% |
Non Recourse Debt | Subordinated Loans | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 7.00% |  |  |
Non Recourse Debt | Subordinated Loans | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 10.75% |  |  |
Non Recourse Debt | Subordinated Loans | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 6.50% |  |  |
Non Recourse Debt | Subordinated Loans | Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 6.90% |  |  |
Non Recourse Debt | Securitized loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, gross | $ 6,128,430 |  | $ 6,128,430 |  | $ 4,705,549 |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Weighted average interest rate | 5.40% |  | 5.40% |  | 5.08% |
Non Recourse Debt | Securitized loans | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 2.27% |  |  |
Non Recourse Debt | Securitized loans | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate during period |  |  | 6.60% |  |  |
Non Recourse Debt | Convertible Senior Notes |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, net | $ 5,500 |  | $ 5,500 |  |  |
Non Recourse Debt | Fixed Rate Senior Non Revolving Loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, net | 1,700,000 |  | 1,700,000 |  |  |
Non Recourse Debt | Floating Rate Subordinated Loans |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, net | 671,900 |  | 671,900 |  |  |
Unamortized debt (discount) premium, net |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Unamortized debt (discount) premium, net | (161,060) |  | (161,060) |  | $ (117,595) |
Unused borrowing capacity | $ 0 |  | $ 0 |  |  |
Line of Credit | Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 3.25% |  | 3.25% |  |  |
Line of Credit | Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Interest rate | 3.75% |  | 3.75% |  |  |
Line of Credit | 2022 Credit Agreement, Base Rate Loans | Base Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  | 0.00% |  |  |
Line of Credit | 2022 Credit Agreement, SOFR Rate Loans | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  | 0.00% |  |  |
Line of Credit | 2022 Credit Agreement, SOFR Rate Loans | One Month, Secured Overnight Financing Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  | 0.11448% |  |  |
Line of Credit | 2022 Credit Agreement, SOFR Rate Loans | Three Month, Secured Overnight Financing Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  | 0.26161% |  |  |
Line of Credit | 2022 Credit Agreement, SOFR Rate Loans | Six Month, Secured Overnight Financing Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  | 0.42826% |  |  |
Convertible Debt | Convertible Senior Notes |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Total debt, net | $ 483,200 |  | $ 483,200 |  |  |
Interest rate | 4.00% |  | 4.00% |  |  |
Equivalent conversion price (in USD per share) | $ / shares | $ 117.91 |  | $ 117.91 |  |  |
Initial conversion rate |  |  | 0.0084807 |  |  |
Common stock, par value (in dollars per share) | $ / shares | $ 0.0001 |  | $ 0.0001 |  |  |
Effective interest rate | 0.57% |  | 0.57% |  |  |
Debt discount amortization |  |  | $ 7,700 |  |  |
Conversion price (in dollars per share) | $ / shares | $ 0.0613704 |  | $ 0.0613704 |  |  |
Convertible Debt | Convertible Senior Notes | Capped Call |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Payments for capped call transaction |  |  | $ 28,000 |  |  |
Capped call price per share (in dollars per share) | $ / shares |  |  | $ 117.91 |  |  |
Conversion price (in dollars per share) | $ / shares | $ 157.22 |  | $ 157.22 |  |  |
Number of shares covered by capped calls (in shares) | shares |  |  | 3.4 |  |  |
Convertible Debt | Convertible Senior Notes | Base Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Effective interest rate | 4.51% |  | 4.51% |  |  |
Debt discount amortization |  |  | $ 3,100 |  |  |
Conversion price (in dollars per share) | $ / shares | $ 16.29 |  | $ 16.29 |  |  |
Convertible Debt | Convertible Senior Notes | Base Rate | Capped Call |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Payments for capped call transaction |  |  | $ 38,400 |  |  |
Conversion price (in dollars per share) | $ / shares | $ 22.37 |  | $ 22.37 |  |  |
Number of shares covered by capped calls (in shares) | shares |  |  | 29.7 |  |  |

X
- Definition Debt Instrument, Convertible, Initial Conversion Price + References No definition available. + Details
Name: | run_DebtInstrumentConvertibleInitialConversionPrice
Namespace Prefix: | run_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Payments For Capped Call Transaction + References No definition available. + Details
Name: | run_PaymentsForCappedCallTransaction
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-3 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-5 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-7 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-6 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 30: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 31: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum number of shares that could be issued to settle option contract indexed to equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_OptionIndexedToIssuersEquityShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise or strike price stated in the contract for options indexed to the issuer's equity shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a)(2) -SubTopic 40 -Topic 815 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_OptionIndexedToIssuersEquityStrikePrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=run_RecourseDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_BankLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_ZeroPercentageConvertibleSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_FourPercentageConvertibleSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=run_NonRecourseDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_SeniorRevolvingAndDelayedDrawLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_SeniorNonRevolvingLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_SubordinatedRevolvingAndDelayedDrawLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_SubordinatedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_SecuritizedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_ConvertibleSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_FixedRateSeniorNonRevolvingLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_FloatingRateSubordinatedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=run_RecourseAndNonrecourseDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_A2022CreditAgreementBaseRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=run_A2022CreditAgreementSOFRRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=run_OneMonthSecuredOvernightFinancingRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=run_ThreeMonthSecuredOvernightFinancingRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=run_SixMonthSecuredOvernightFinancingRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OptionIndexedToIssuersEquityEquityAxis=run_CappedCallMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |