v3.19.3.a.u2

Balance Sheet Components (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Balance Sheet Related Disclosures [Abstract] |
Schedule of Accounts Receivable, Net | Accounts receivable, net consisted of the following (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Gross accounts receivable |  | $ | 360,194 |  |  | $ | 204,975 |
Allowance for sales returns |  |  | (6,550 | ) |  |  | (7,335 | )
Allowance for sales incentives |  |  | (19,476 | ) |  |  | (13,750 | )
Other allowances |  |  | (1,495 | ) |  |  | (812 | )
Total allowances |  |  | (27,521 | ) |  |  | (21,897 | )
Total Accounts Receivable—net of allowances |  | $ | 332,673 |  |  | $ | 183,078 |
Schedule of Allowance for Sales Returns | Allowance for sales returns consist of the following activities (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Beginning balance |  | $ | (7,335 | ) |  | $ | (6,907 | )
Charged to revenue |  |  | (15,541 | ) |  |  | (17,396 | )
Utilization of sales return reserve |  |  | 16,326 |  |  |  | 16,968 |
Ending balance |  | $ | (6,550 | ) |  | $ | (7,335 | )
Schedule of Allowance for Sales Incentives | Allowance for sales incentive consisted of the following activities (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Beginning balance |  | $ | (13,750 | ) |  | $ | (10,442 | )
Charged to revenue |  |  | (65,676 | ) |  |  | (50,958 | )
Utilization of sales incentive reserve |  |  | 59,950 |  |  |  | 47,650 |
Ending balance |  | $ | (19,476 | ) |  | $ | (13,750 | )
Schedule of Property and Equipment, Net | Property and equipment, net consisted of the following (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Computers and equipment |  | $ | 23,834 |  |  | $ | 16,056 |
Leasehold improvements |  |  | 93,239 |  |  |  | 18,396 |
Website and internal-use software |  |  | 6,510 |  |  |  | 6,423 |
Office equipment and furniture |  |  | 12,091 |  |  |  | 4,069 |
Total property and equipment |  |  | 135,674 |  |  |  | 44,944 |
Accumulated depreciation and amortization |  |  | (32,412 | ) |  |  | (19,680 | )
Property and Equipment, net |  | $ | 103,262 |  |  | $ | 25,264 |
Schedule of Accrued Liabilities | Accrued liabilities consisted of the following (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Payments due to content publishers |  | $ | 57,376 |  |  | $ | 32,463 |
Accrued cost of revenue |  |  | 58,149 |  |  |  | 22,830 |
Operating lease liability, current |  |  | 17,896 |  |  |  | — |
Accrued royalty expense |  |  | 18,040 |  |  |  | 7,939 |
Accrued payroll and related expenses |  |  | 14,522 |  |  |  | 12,217 |
Accrued inventory |  |  | 2,892 |  |  |  | 6,008 |
Marketing, retail and merchandising costs |  |  | 7,624 |  |  |  | — |
Accrued legal expenses |  |  | 3,158 |  |  |  | — |
Customer prepayments |  |  | 2,669 |  |  |  | 3,124 |
Taxes and related liabilities |  |  | 3,052 |  |  |  | 1,314 |
Other accrued expenses |  |  | 12,969 |  |  |  | 6,091 |
Total Accrued Liabilities |  | $ | 198,347 |  |  | $ | 91,986 |
Schedule of Deferred Revenue | Deferred revenue consisted of the following (in thousands):
|  | As of December 31, |
|  | 2019 |  |  | 2018 |
Platform, current |  | $ | 18,234 |  |  | $ | 28,569 |
Player, current |  |  | 21,627 |  |  |  | 16,873 |
Total deferred revenue, current |  |  | 39,861 |  |  |  | 45,442 |
Platform, non-current |  |  | 6,135 |  |  |  | 12,783 |
Player, non-current |  |  | 9,235 |  |  |  | 6,811 |
Total deferred revenue, non-current |  |  | 15,370 |  |  |  | 19,594 |
Total Deferred Revenue |  | $ | 55,231 |  |  | $ | 65,036 |

X
- Definition Schedule of valuation allowance for sales incentives. + References No definition available. + Details
Name: | roku_ScheduleOfValuationAllowanceForSalesIncentivesTableTextBlock
Namespace Prefix: | roku_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of valuation allowance for sales returns. + References No definition available. + Details
Name: | roku_ScheduleOfValuationAllowanceForSalesReturnsTableTextBlock
Namespace Prefix: | roku_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of the type of arrangements and the corresponding amounts that comprise the current and noncurrent balance of deferred revenue as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118951113&loc=d3e6935-107765 + Details
Name: | us-gaap_DeferredRevenueByArrangementDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation. + 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(13)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_PropertyPlantAndEquipmentTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables. + 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.3,4) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of accrued liabilities. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration