v3.20.4

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Leases [Abstract] |
Schedule of Components of Lease Expense | The components of lease expense are as follows (in thousands):
|  | Years Ended December 31, |
|  | 2020 |  |  | 2019 |
Operating lease cost (1) |  | $ | 56,348 |  |  | $ | 35,146 |
Sublease income |  |  | (2,105 | ) |  |  | (2,622 | )
Net operating lease cost |  | $ | 54,243 |  |  | $ | 32,524 |
(1) For the years ended December 31, 2020 and 2019, variable lease costs were $12.1 million and $4.9 million, respectively. Variable lease costs primarily include common area maintenance charges.
Schedule of Supplemental Cash Flow Information Related To Leases | Supplemental cash flow information related to leases is as follows (in thousands):
|  | Years Ended December 31, |
|  | 2020 |  |  | 2019 |
Cash paid for amounts included in the measurement of lease liabilities: |  |  |  |  |  |  |  |
Operating cash outflows from operating leases |  | $ | 30,664 |  |  | $ | 17,721 |
Right-of-use assets obtained in exchange for lease obligations: |  |  |  |  |  |  |  |
Operating leases |  | $ | 12,031 |  |  | $ | 267,048 |
Schedule of Supplemental Balance Sheet Information Related to Leases | Supplemental balance sheet information related to leases was as follows (in thousands, except lease term and discount rate):
|  | As of December 31, |
|  | 2020 |  |  | 2019 |
Operating lease right-of-use assets |  | $ | 266,197 |  |  | $ | 283,291 |
Included in accounts payable and accrued liabilities: |  |  |  |  |  |  |  |
Operating lease liability, current |  |  | 35,647 |  |  |  | 17,896 |
Operating lease liability, non-current |  |  | 307,936 |  |  |  | 301,694 |
Total operating lease liability |  | $ | 343,583 |  |  | $ | 319,590 |
Weighted Average Remaining Lease Term: |  |  |  |  |  |  |  |
Operating leases (in years) |  | 9.05 |  |  | 9.98 |
Weighted Average Discount Rate: |  |  |  |  |  |  |  |
Operating leases |  |  | 4.60 | % |  |  | 4.65 | %
Schedule of Future Lease Payments under Operating Leases | Future lease payments under operating leases as of December 31, 2020 were as follows (in thousands):
Year Ending December 31, |  | Operating Leases |
2021 |  | $ | 50,889 |
2022 |  |  | 47,377 |
2023 |  |  | 47,597 |
2024 |  |  | 46,635 |
2025 |  |  | 46,295 |
Thereafter |  |  | 201,852 |
Total future lease payments |  |  | 440,645 |
Less: imputed interest |  |  | (81,076 | )
Less: expected tenant improvement allowance |  |  | (15,986 | )
Total |  | $ | 343,583 |

X
- Definition Schedule of supplemental balance sheet information related to leases. + References No definition available. + Details
Name: | roku_ScheduleOfSupplementalBalanceSheetInformationRelatedToLeasesTableTextBlock
Namespace Prefix: | roku_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of supplemental cash flow information related to leases. + References No definition available. + Details
Name: | roku_ScheduleOfSupplementalCashFlowInformationRelatedToLeasesTableTextBlock
Namespace Prefix: | roku_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration