v3.19.3.a.u2

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Leases [Abstract] |
Schedule of Components of Lease Expense | The components of lease expense are as follows (in thousands):
|  | Year Ended |
|  | December 31, 2019 |
Operating lease cost |  | $ | 30,218 |
Sublease income |  |  | (2,622 | )
Net operating lease cost |  | $ | 27,596 |
Schedule of Supplemental Cash Flow Information Related To Leases | Supplemental cash flow information related to leases is as follows (in thousands):
|  | Year Ended |
|  | December 31, 2019 |
Cash paid for amounts included in the measurement of lease liabilities: |  |  |  |
Operating cash outflows from operating leases |  | $ | 17,721 |
Right-of-use assets obtained in exchange for lease obligations: |  |  |  |
Operating leases |  | $ | 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, 2019 |
Operating lease right-of-use assets |  | $ | 283,291 |
Included in accounts payable and accrued liabilities: |  |  |  |
Operating lease liability, current |  |  | 17,896 |
Operating lease liability, non-current |  |  | 301,694 |
Total operating lease liability |  | $ | 319,590 |
Weighted Average Remaining Lease Term: |  |  |  |
Operating leases (in years) |  | 9.98 |
Weighted Average Discount Rate: |  |  |  |
Operating leases |  |  | 4.65 | %
Schedule of Future Lease Payments under Operating Leases | Future lease payments under operating leases as of December 31, 2019 were as follows (in thousands):
Year Ending December 31, |  | Operating Leases |
2020 |  | $ | 29,230 |
2021 |  |  | 47,035 |
2022 |  |  | 43,909 |
2023 |  |  | 44,655 |
2024 |  |  | 44,014 |
Thereafter |  |  | 246,488 |
Total future lease payments |  |  | 455,331 |
Less: imputed interest |  |  | (95,762 | )
Less: expected tenant improvement allowance |  |  | (39,979 | )
Total |  | $ | 319,590 |
Schedule of Future Minimum Lease Payments Due under Operating Leases | The following table summarizes the future minimum lease payments due under operating leases as of December 31, 2018 and reflect the application of the prior lease standard (ASC 840, Leases). These amounts were disclosed in the Company’s Annual Report on Form 10-K for the year ended December 31, 2018 (in thousands):
Year Ending December 31, |  | Operating Leases |
2019 |  | $ | 16,817 |
2020 |  |  | 29,124 |
2021 |  |  | 32,034 |
2022 |  |  | 32,844 |
2023 |  |  | 33,414 |
Thereafter |  |  | 223,472 |
Less: sublease income |  |  | (3,711 | )
Total |  | $ | 363,994 |

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=77888426&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=77888426&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration