v3.19.3.a.u2

Business Combination - Summary of Valuation of Intangible Assets Acquired (Details) - Boston-based Dataxu, Inc, Demand-Side Platform (DSP) $ in Thousands | Nov. 08, 2019 USD ($)
--- | ---
Finite Lived Intangible Assets [Line Items] |
Estimated Fair Value | $ 70,200
Developed Technology |
Finite Lived Intangible Assets [Line Items] |
Estimated Fair Value | $ 56,400
Estimated Useful Lives (in years) | 6 years
Customer Relationships |
Finite Lived Intangible Assets [Line Items] |
Estimated Fair Value | $ 13,400
Estimated Useful Lives (in years) | 4 years
Tradename |
Finite Lived Intangible Assets [Line Items] |
Estimated Fair Value | $ 400
Estimated Useful Lives (in years) | 6 months

X
- Definition Acquired finite-lived intangible assets, estimated useful life. + References No definition available. + Details
Name: | roku_AcquiredFiniteLivedIntangibleAssetsEstimatedUsefulLife
Namespace Prefix: | roku_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=116868840&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_DevelopedTechnologyRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |