XML 62 R49.htm IDEA: XBRL DOCUMENT
v3.22.4

Summary of Significant Accounting Policies - Additional Information (Details) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 USD ($) business_activity segment reporting_unit shares | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Jan. 01, 2020 USD ($)
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Number of operating segments | segment | 1 |  |  |
Number of business activities | business_activity | 1 |  |  |
Bad debt expense | $ 17,000 | $ 11,700 | $ 7,200 |
Uncollectible receivables written off | 10,300 | 5,600 | 5,400 |
Capitalized additional costs associated with software | $ 10,000 | 6,200 | 2,000 |
Number of reporting units | reporting_unit | 1 |  |  |
Performance obligation guarantees, intervals in which systems are monitored to insure performance is met | 2 years |  |  |
Retained earnings | $ 170,798 | (2,579) |  |
Cumulative Effect, Period of Adoption, Adjustment |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Retained earnings |  |  |  | $ (1,200)
Common Stock | Vivant |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Common stock issued (in shares) | shares | 0.55 |  |  |
Solar energy systems |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Estimated useful life | 35 years |  |  |
Inverters and batteries | Minimum |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Estimated useful life | 10 years |  |  |
Inverters and batteries | Maximum |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Estimated useful life | 13 years |  |  |
Software and software development costs |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Estimated useful life | 3 years |  |  |
Solar energy systems and product sales |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Costs | $ 1,178,548 | 666,370 | $ 357,876 |
Solar energy systems and product sales | Cost of Goods and Service Benchmark | Supplier Concentration Risk | Top Five Suppliers |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |
Costs | $ 747,100 | $ 627,700 |  |

X
- Definition Business Combination, Consideration Transferred Per Share, Shares + References No definition available. + Details
Name: | run_BusinessCombinationConsiderationTransferredPerShareShares
Namespace Prefix: | run_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Capitalized additional costs associated with software. + References No definition available. + Details
Name: | run_CapitalizedAdditionalCostsAssociatedWithSoftware
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of business activities. + References No definition available. + Details
Name: | run_NumberOfBusinessActivities
Namespace Prefix: | run_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue, Performance Obligation, Period To Monitor Whether Performance Is Met + References No definition available. + Details
Name: | run_RevenuePerformanceObligationPeriodToMonitorWhetherPerformanceIsMet
Namespace Prefix: | run_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of significant accounting policies. + References No definition available. + Details
Name: | run_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | run_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2(a),(d)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_CostOfGoodsAndServicesSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References No definition available. + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(5)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_ProvisionForDoubtfulAccounts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of other equipment owned by public utility, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_PublicUtilitiesPropertyPlantAndEquipmentEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cumulative amount of the reporting entity's undistributed earnings or deficit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)(a)(3)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(23)(a)(4)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (h)(2) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (g)(2)(i) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 + Details
Name: | us-gaap_RetainedEarningsAccumulatedDeficit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=run_VivantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=run_SolarEnergySystemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=run_InvertersAndBatteriesMember
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_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareAndSoftwareDevelopmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_CostOfGoodsTotalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_SupplierConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis=run_TopFiveSuppliersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |