GOPRO, INC., 10-K filed on 2/10/2023
Annual Report
v3.22.4
Cover - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Jan. 31, 2023
Jun. 30, 2022
Class of Stock [Line Items]      
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 77-0629474    
Entity Address, Address Line One 3025 Clearview Way    
Entity Address, City or Town San Mateo,    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 94402    
Title of 12(b) Security Class A common stock, $0.0001 par value    
Trading Symbol GPRO    
Entity Registrant Name GOPRO, INC.    
City Area Code (650)    
Local Phone Number 332-7600    
Entity Central Index Key 0001500435    
Entity Filer Category Large Accelerated Filer    
Document Type 10-K    
Document Period End Date Dec. 31, 2022    
Document Transition Report false    
Entity File Number 001-36514    
Document Fiscal Year Focus 2022    
Document Fiscal Period Focus FY    
Amendment Flag false    
Entity Emerging Growth Company false    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Shell Company false    
Security Exchange Name NASDAQ    
Entity Voluntary Filers No    
ICFR Auditor Attestation Flag true    
Entity Small Business false    
Entity Public Float     $ 715,511
Current Fiscal Year End Date --12-31    
Document Quarterly Report true    
Entity Well-known Seasoned Issuer Yes    
Common Class A [Member]      
Class of Stock [Line Items]      
Entity Common Stock, Shares Outstanding   128,629,017  
Common Class B [Member]      
Class of Stock [Line Items]      
Entity Common Stock, Shares Outstanding   26,258,546  
v3.22.4
Audit Information - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Audit Information [Abstract]      
Auditor Name PricewaterhouseCoopers LLP    
Auditor Location San Jose, California    
Auditor Firm ID 238    
Revenue $ 1,093,541 $ 1,161,084 $ 891,925
v3.22.4
Condensed Consolidated Balance Sheets - USD ($)
Dec. 31, 2022
Jan. 01, 2022
Dec. 31, 2021
Current assets:      
Cash and cash equivalents $ 223,735,000   $ 401,087,000
Marketable securities 143,602,000   137,830,000
Accounts receivable, net 77,008,000   114,221,000
Inventory 127,131,000   86,409,000
Prepaid expenses and other current assets 34,551,000   42,311,000
Total current assets 606,027,000   781,858,000
Property and equipment, net 13,327,000   19,003,000
Operating Lease, Right-of-Use Asset 21,819,000   27,320,000
Goodwill 146,459,000   146,459,000
Other long-term assets 289,293,000   285,239,000
Total assets 1,076,925,000   1,259,879,000
Current liabilities:      
Accounts payable 91,648,000   171,545,000
Accrued expenses and other current liabilities 118,877,000   128,572,000
Short-term operating lease liabilities 9,553,000   9,819,000
Deferred revenue 55,850,000   42,505,000
Short-term Bank Loans and Notes Payable 0   122,391,000
Total current liabilities 275,928,000   474,832,000
Long-term taxes payable 9,536,000   7,319,000
Long-term debt 141,017,000   111,289,000
Long-term operating lease liabilities 33,446,000   43,025,000
Other long-term liabilities 5,439,000 $ 7,300,000 7,500,000
Total liabilities 465,366,000   643,965,000
Commitments, contingencies and guarantees  
Stockholders’ equity:      
Preferred Stock, Value, Outstanding 0   0
Common Stocks, Including Additional Paid in Capital 960,903,000 78,200,000 1,008,872,000
Treasury Stock, Value (153,231,000)   (113,613,000)
Accumulated deficit (196,113,000) 47,100,000 (279,345,000)
Total stockholders’ equity 611,559,000   615,914,000
Total liabilities and stockholders’ equity $ 1,076,925,000   $ 1,259,879,000
Preferred Stock, par value (usd per share) $ 0.0001   $ 0.0001
Preferred Stock, Shares Authorized (shares) 5,000,000   5,000,000
Preferred Stock, par value (usd per share) $ 0.0001   $ 0.0001
Preferred Stock, Shares Authorized (shares) 5,000,000   5,000,000
Common stock, par value (in dollars per share) $ 0.0001   $ 0.0001
Treasury Stock, Value $ 153,231,000   $ 113,613,000
Common Stocks, Including Additional Paid in Capital 960,903,000 78,200,000 1,008,872,000
Preferred Stock, Value, Outstanding $ 0   $ 0
Treasury Stock, Shares (shares) 16,677,000   10,710,000
Cash and cash equivalents $ 223,735,000   $ 401,087,000
Marketable securities 143,602,000   137,830,000
Accounts receivable, net 77,008,000   114,221,000
Inventory 127,131,000   86,409,000
Prepaid expenses and other current assets 34,551,000   42,311,000
Property and equipment, net 13,327,000   19,003,000
Operating Lease, Right-of-Use Asset 21,819,000   27,320,000
Goodwill 146,459,000   146,459,000
Other long-term assets 289,293,000   285,239,000
Accounts payable 91,648,000   171,545,000
Accrued expenses and other current liabilities 118,877,000   128,572,000
Short-term operating lease liabilities 9,553,000   9,819,000
Deferred revenue 55,850,000   42,505,000
Short-term Bank Loans and Notes Payable 0   122,391,000
Long-term taxes payable 9,536,000   7,319,000
Long-term debt 141,017,000   111,289,000
Long-term operating lease liabilities 33,446,000   43,025,000
Other long-term liabilities 5,439,000 7,300,000 7,500,000
Accumulated deficit $ (196,113,000) $ 47,100,000 $ (279,345,000)
Common stock, par value (in dollars per share) $ 0.0001   $ 0.0001
Treasury Stock, Shares (shares) 16,677,000   10,710,000
Common Class A [Member]      
Common stock outstanding (shares) 128,629,000   129,815,000
Common Stock, Shares Authorized (shares) 500,000,000   500,000,000
Common Stock, Shares, Issued 128,629,000   129,815,000
Common Stock, Shares Authorized (shares) 500,000,000   500,000,000
Common Stock, Shares, Issued 128,629,000   129,815,000
Common Class B [Member]      
Common stock outstanding (shares) 26,259,000   26,659,000
Common Stock, Shares Authorized (shares) 150,000,000   150,000,000
Common Stock, Shares, Issued 26,259,000   26,659,000
Common Stock, Shares Authorized (shares) 150,000,000   150,000,000
Common Stock, Shares, Issued 26,259,000   26,659,000
v3.22.4
Condensed Consolidated Balance Sheets (Parenthetical) - $ / shares
Dec. 31, 2022
Dec. 31, 2021
Preferred Stock, par value (usd per share) $ 0.0001 $ 0.0001
Preferred Stock, Shares Authorized (shares) 5,000,000 5,000,000
Preferred Stock, Shares Issued (shares) 0 0
Common stock, par value (in dollars per share) $ 0.0001 $ 0.0001
Treasury Stock, Shares (shares) 16,677,000 10,710,000
Common Class A [Member]    
Common Stock, Shares Authorized (shares) 500,000,000 500,000,000
Common Stock, Shares, Issued 128,629,000 129,815,000
Common stock outstanding (shares) 128,629,000 129,815,000
Common Class B [Member]    
Common Stock, Shares Authorized (shares) 150,000,000 150,000,000
Common Stock, Shares, Issued 26,259,000 26,659,000
Common stock outstanding (shares) 26,259,000 26,659,000
v3.22.4
Condensed Consolidated Statements of Operations - USD ($)
shares in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Statement [Abstract]      
Revenue $ 1,093,541,000 $ 1,161,084,000 $ 891,925,000
Cost of revenue 686,713,000 683,979,000 577,411,000
Gross profit 406,828,000 477,105,000 314,514,000
Operating expenses:      
Research and development 139,885,000 141,494,000 131,589,000
Sales and marketing 166,967,000 156,694,000 151,380,000
General and administrative 61,021,000 65,701,000 68,364,000
Total operating expenses 367,873,000 363,889,000 351,333,000
Operating income (loss) 38,955,000 113,216,000 (36,819,000)
Interest expense (6,242,000) (22,940,000) (20,257,000)
Other income (expense), net   176,000  
Other income (expense), net (1,740,000)   (4,881,000)
Total other expense, net (4,502,000) (23,116,000) (25,138,000)
Income (loss) before income taxes 34,453,000 90,100,000 (61,957,000)
Income tax expense (benefit) 5,606,000 (281,071,000) 4,826,000
Net income (loss) $ 28,847,000 $ 371,171,000 $ (66,783,000)
Earnings Per Share, Basic $ 0.18 $ 2.41 $ (0.45)
Earnings Per Share, Diluted $ 0.18 $ 2.27 $ (0.45)
Weighted Average Number of Shares Outstanding, Basic 156,181 154,274 149,037
Weighted Average Number of Shares Outstanding, Diluted 178,279 163,178 149,037
v3.22.4
Condensed Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities:      
Net income (loss) $ 28,847,000 $ 371,171,000 $ (66,783,000)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 8,570,000 10,962,000 19,065,000
Non-cash operating lease cost 5,501,000 4,240,000 6,565,000
Stock-based compensation 38,991,000 38,650,000 29,963,000
Deferred income taxes 2,710,000 (273,541,000) (50,000)
Non-cash restructuring charges (228,000) (99,000) 5,242,000
Operating Lease, Impairment Loss 0 0 12,460,000
Amortization of Debt Discount (Premium) 0 14,208,000 10,366,000
Gain (Loss) on Extinguishment of Debt 0 0 5,389,000
Other 1,022,000 2,243,000 1,072,000
Changes in operating assets and liabilities:      
Accounts receivable, net 37,829,000 (8,142,000) 93,084,000
Inventory (40,722,000) 11,505,000 46,322,000
Prepaid expenses and other assets 7,922,000 (17,513,000) 6,392,000
Accounts payable and other liabilities (97,112,000) 56,262,000 (87,501,000)
Deferred revenue 11,961,000 19,207,000 12,196,000
Net Cash Provided by (Used in) Operating Activities 5,747,000 229,153,000 93,782,000
Investing activities:      
Purchases of property and equipment, net (3,447,000) (5,545,000) (4,881,000)
Purchases of marketable securities (165,590,000) (146,515,000) 0
Maturities of marketable securities 160,649,000 8,341,000  
Payments for (Proceeds from) Other Investing Activities 0 0 438,000
Net cash provided by (used in) investing activities (8,388,000) (143,719,000) 9,511,000
Financing activities:      
Proceeds from issuance of common stock 4,760,000 7,490,000 5,435,000
Payment, Tax Withholding, Share-based Payment Arrangement (13,410,000) (17,379,000) (6,207,000)
Proceeds from Issuance of Debt 0 0 143,750,000
Payments of Debt Issuance Costs 0 0 (4,752,000)
Payments for Repurchase of Common Stock (39,619,000) 0 0
Early Repayment of Senior Debt 0 0 (56,000,000)
Proceeds from Lines of Credit 0 0 30,000,000
Repayments of Lines of Credit (125,000,000) 0 (30,000,000)
Payments for Repurchase of Common Stock 39,619,000 0 0
Net cash provided by (used in) financing activities (173,269,000) (9,889,000) 71,977,000
Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents (1,442,000) (2,112,000) 2,083,000
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect (177,352,000) 73,433,000 177,353,000
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents 223,735,000 401,087,000 327,654,000
Interest Paid, Including Capitalized Interest, Operating and Investing Activities 4,258,000 6,127,000 6,717,000
Income Taxes Paid, Net 2,100,000 810,000 2,237,000
Capital Expenditures Incurred but Not yet Paid 215,000 587,000 1,030,000
Payment for Capped Call $ 0 $ 0 $ (10,249,000)
v3.22.4
Condensed Consolidated Statements Stockholders' Equity (Deficit) - USD ($)
shares in Thousands, $ in Thousands
Total
Retained Earnings [Member]
Common Stock Including Additional Paid in Capital [Member]
Treasury Stock [Member]
Stockholders' Equity Attributable to Parent $ 233,529 $ (583,733) $ 930,875 $ (113,613)
Shares, Outstanding     146,818  
Allocated share-based compensation expense     $ 29,963  
Convertible debt, equity portion 35,674      
Net income (loss) (66,783) (66,783)    
Common stock issued under employee benefit plans, net of shares withheld for tax 5,481   $ 5,481  
Common stock issued under employee benefit plans, net of shares withheld for tax (shares)     4,301  
Share-based Payment Arrangement, Decrease for Tax Withholding Obligation 6,207   $ (6,207)  
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt, Repurchases (5,390)      
Stockholders' Equity Attributable to Parent 216,018 (650,516) $ 980,147 (113,613)
Shares, Outstanding     151,119  
Allocated share-based compensation expense     $ 38,651  
Net income (loss) 371,171 371,171    
Common stock issued under employee benefit plans, net of shares withheld for tax 7,453   $ 7,453  
Common stock issued under employee benefit plans, net of shares withheld for tax (shares)     5,355  
Share-based Payment Arrangement, Decrease for Tax Withholding Obligation 17,379   $ (17,379)  
Stockholders' Equity Attributable to Parent 615,914 (279,345) $ 1,008,872 (113,613)
Shares, Outstanding     156,474  
Allocated share-based compensation expense     $ 38,991  
Treasury Stock, Value, Acquired, Par Value Method (1)      
Stock Repurchased During Period, Value (39,619)      
Treasury Stock, Value, Acquired, Cost Method $ (39,618)      
Stock Repurchased During Period, Shares (5,967)      
Net income (loss) $ 28,847 28,847    
Common stock issued under employee benefit plans, net of shares withheld for tax 4,681   $ 4,681  
Common stock issued under employee benefit plans, net of shares withheld for tax (shares)     4,381  
Share-based Payment Arrangement, Decrease for Tax Withholding Obligation $ 13,410   $ (13,410)  
Change in Accounting Principle, Accounting Standards Update, Adopted [true false] true      
Stockholders' Equity Attributable to Parent $ 611,559 $ (196,113) $ 960,903 $ (153,231)
Shares, Outstanding     154,888  
v3.22.4
Summary of business and significant accounting policies
12 Months Ended
Dec. 31, 2022
Dec. 31, 2020
Accounting Policies [Abstract]    
Summary of business and significant accounting policies Summary of business and significant accounting policies
GoPro, Inc. and its subsidiaries (GoPro or the Company) make it easy for the world to capture and share itself in immersive and exciting ways, helping people get the most out of their photos and videos. The Company is committed to developing solutions that create an easy, seamless experience for consumers to capture, create, manage and share engaging personal content. To date, the Company’s cameras, mountable and wearable accessories, and subscription and service have generated substantially all of its revenue. The Company sells its products globally on its website, and through retailers and wholesale distributors. The Company’s global corporate headquarters are located in San Mateo, California.
Basis of presentation. The accompanying consolidated financial statements have been prepared in accordance with United States generally accepted accounting principles (GAAP) for financial information set forth in the Accounting Standards Codification (ASC), as published by the Financial Accounting Standards Board (FASB), and with the applicable rules and regulations of the Securities and Exchange Commission (SEC). The Company’s fiscal year ends on December 31, and its fiscal quarters end on March 31, June 30 and September 30.
The Company’s operating results, financial position and cash flows for fiscal years 2021 and 2020 were negatively impacted by the COVID-19 pandemic. As the global impact of the pandemic continued to evolve in 2021, the Company utilized its direct-to-consumer sales channel strategy through GoPro.com to maximize its reach to customers. This action, along with a reduction in on-going operating expenses, helped accelerate the Company’s ability to consistently achieve profitability in 2021. The Company’s operating results for the full year of 2022 were negatively impacted when compared to 2021 by a stronger U.S. dollar as well as inflationary pressure on operating costs such as wages and component price increases.
The consolidated financial statements reflect all adjustments, which are normal and recurring in nature, that management believes are necessary for the fair statement of the Company's financial statements, but are not necessarily indicative of the results expected for any other future period.
In August 2020, the FASB issued ASU 2020-06, Debt - Debt with Conversion and Other Options (Subtopic 470- 20) and Derivatives and Hedging - Contracts in Entity’s Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity’s Own Equity (ASU 2020-06), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity. This accounting standard update, which was adopted effective January 1, 2022, had a significant impact on the ongoing accounting of the 2022 and 2025 Convertible Senior Notes. Due to the adoption of this accounting standard update under the modified retrospective method, prior periods were not restated. Refer to the Recent Accounting Standards section below for additional details on the adoption of this accounting standard update.
Principles of consolidation. These consolidated financial statements include all the accounts of the Company and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation.
Use of estimates. The preparation of consolidated financial statements in accordance with GAAP requires management to make estimates and assumptions that affect the amounts reported and disclosed in the Company’s consolidated financial statements and accompanying notes. Significant estimates and assumptions made by management include those related to revenue recognition and the allocation of the transaction price (including sales incentives, sales returns and implied post contract support), inventory valuation, product warranty liabilities, the valuation, impairment and useful lives of long-lived assets (property and equipment, operating lease right-of-use assets, intangible assets and goodwill), fair value of convertible senior notes, and income taxes. The Company bases its estimates and assumptions on historical experience and on various other factors that it believes to be reasonable under the circumstances, including but not limited to the potential impacts arising from the COVID-19 pandemic, the results of which form the basis for making judgments about the carrying values of assets and liabilities that are not readily apparent from other sources. The extent and continued impact of COVID-19 has been taken into account by management in making the significant assumptions and estimates related to the above; however, if the duration and spread of the outbreak, the impact on the Company’s customers, and the effect on the Company’s contract manufacturers, vendors and supply chains is different from
the Company’s estimates and assumptions, then actual results could differ materially. To the extent there are material differences between the estimates and the actual results, future results of operations could be affected.
Comprehensive income (loss). For all periods presented, comprehensive income (loss) approximated net income (loss). Therefore, the Consolidated Statements of Comprehensive Income (Loss) have been omitted.
 
Employee benefit plans Stock-based compensation. Stock-based awards granted to qualified employees, non-employee directors and consultants are measured at fair value and recognized as an expense. The Company primarily issues restricted stock units and accounts for forfeitures as they occur. For service-based awards, stock-based compensation is recognized on a straight-line basis over the requisite service period. For performance and market-based awards which also require a service period, the Company uses graded vesting over the longer of the derived service period or when the performance or market condition is satisfied. 14,830
v3.22.4
Fair value measurements
12 Months Ended
Dec. 31, 2022
Fair Value Disclosures [Abstract]  
Fair Value measurements Fair value measurements
The Company’s assets that are measured at fair value on a recurring basis within the fair value hierarchy are summarized as follows:
December 31, 2022December 31, 2021
(in thousands)Level 1Level 2TotalLevel 1Level 2Total
Cash equivalents (1):
Money market funds$138,394 $— $138,394 $183,304 $— $183,304 
Total cash equivalents$138,394 $— $138,394 $183,304 $— $183,304 
Marketable securities:
Commercial paper$— $87,436 $87,436 $— $72,323 $72,323 
Corporate debt securities— 29,637 29,637 — 41,108 41,108 
Government securities— 26,529 26,529 — 24,399 24,399 
Total marketable securities$— $143,602 $143,602 $— $137,830 $137,830 
(1)    Included in cash and cash equivalents in the accompanying Consolidated Balance Sheets. Cash balances were $85.3 million and $217.8 million as of December 31, 2022 and 2021, respectively.
Cash equivalents are classified as Level 1 because the Company uses quoted market prices to determine their fair value. Marketable securities are classified as Level 2 because the Company uses alternative pricing sources and models utilizing market observable inputs to determine their fair value. The contractual maturities of available-for-sale marketable securities as of December 31, 2022 were all less than one year in duration. At December 31, 2022 and 2021, the Company had no financial assets or liabilities measured at fair value on a recurring basis that were classified as Level 3, which are valued based on inputs supported by little or no market activity.
At December 31, 2022 and 2021, the amortized cost of the Company’s cash equivalents and marketable securities approximated their fair value and there were no material realized or unrealized gains or losses, either individually or in the aggregate.
In April 2017, the Company issued $175.0 million principal amount of Convertible Senior Notes due 2022 (2022 Notes), which were repaid on April 15, 2022. In November 2020, the Company issued $143.8 million principal amount of Convertible Senior Notes due 2025 (2025 Notes) (see Note 4 Financing arrangements). The estimated fair value of the 2022 Notes and 2025 Notes is based on quoted market prices of the Company’s instruments in markets that are not active and are classified as Level 2 within the fair value hierarchy. The Company estimated the fair value of the 2022 Notes and 2025 Notes by evaluating quoted market prices and calculating the upfront cash payment a market participant would require to assume these obligations. The calculated fair value of the 2022 Notes was $132.4 million as of December 31, 2021, while the calculated fair value of the 2025 Notes was $130.1 million and $189.0 million as of December 31, 2022 and 2021, respectively. The calculated fair value is highly correlated to the Company’s stock price and as a result, significant changes to the Company’s stock price will have a significant impact on the calculated fair value of the 2025 Notes.
For certain other financial assets and liabilities, including accounts receivable, accounts payable and other current assets and liabilities, the carrying amounts approximate their fair value primarily due to the relatively short maturity of these balances.
The Company also measures certain non-financial assets at fair value on a nonrecurring basis, primarily goodwill, intangible assets and operating lease right-of-use assets, in connection with periodic evaluations for potential impairment.
v3.22.4
Financing Arrangements
12 Months Ended
Dec. 31, 2022
Debt Disclosure [Abstract]  
Financing Arrangements
4. Financing arrangements
2021 Credit Facility
In January 2021, the Company entered into a Credit Agreement (2021 Credit Agreement) which provides for a revolving credit facility (2021 Credit Facility) under which the Company may borrow up to an aggregate amount of $50.0 million. The 2021 Credit Facility will terminate and any outstanding borrowings become due and payable on the earlier of (i) January 2024 and (ii) unless the Company has cash in a specified deposit account in an amount equal to or greater than the amount required to repay the Company’s convertible notes due April 2022, 91 days prior to the maturity date of such convertible notes. Concurrently with the execution of the 2021 Credit Agreement in January 2021, the Company terminated its previous 2016 Credit Agreement, which would otherwise have matured in March 2021.
The amount that may be borrowed under the 2021 Credit Agreement may be based on a customary borrowing base calculation if the Company’s Asset Coverage Ratio is at any time less than 1.50. The Asset Coverage Ratio is defined as the ratio of (i) the sum of (a) the Company’s cash and cash equivalents in the United States plus specified percentages of other qualified debt investments (Qualified Cash) plus (b) specified percentages of the net book values of the Company’s accounts receivable and certain inventory to (ii) $50.0 million.
At the Company’s option, borrowed funds accrue interest at either (i) a floating rate per annum equal to the base rate plus a margin of from 0.50% to 1.00% depending on the Company’s Asset Coverage Ratio or (ii) a per annum rate equal to the rate at which dollar deposits are offered in the London interbank market plus a margin of from 1.50% to 2.00% depending on the Company’s Asset Coverage Ratio. The Company is required to pay a commitment fee on the unused portion of the 2021 Credit Facility of 0.375% to 0.50% per annum, based on the
level of utilization of the 2021 Credit Facility. Amounts owed under the 2021 Credit Agreement are guaranteed by certain of the Company’s United States subsidiaries and secured by a first priority security interest in substantially all of the assets of the Company and certain of its subsidiaries (other than intellectual property, which is subject to a negative pledge restricting grants of security interests to third parties).
The 2021 Credit Agreement contains customary representations, warranties, and affirmative and negative covenants. The negative covenants include restrictions on the incurrence of liens and indebtedness, certain investments, dividends, stock repurchases and other matters, all subject to certain exceptions. In addition, the Company is required to maintain Liquidity (the sum of unused availability under the credit facility and the Company’s Qualified Cash) of at least $55.0 million (of which at least $40.0 million shall be attributable to Qualified Cash), or, if the borrowing base is then in effect, minimum unused availability under the credit facility of at least $10.0 million. The 2021 Credit Agreement also includes customary events of default that include, among other things, non-payment of principal, interest or fees, inaccuracy of representations and warranties, violation of certain covenants, cross default to certain other indebtedness, bankruptcy and insolvency events, material judgments and change of control. Upon an event of default, the lender may, subject to customary cure rights, require the immediate payment of all amounts outstanding.
At December 31, 2022, the Company was in compliance with all financial covenants contained in the 2021 Credit Agreement. The Company has made no borrowings from the 2021 Credit Facility to date, however, there is an outstanding letter of credit of $5.2 million for certain duty related requirements. This was not collateralized by any cash on hand.
2022 Convertible Notes
In April 2017, the Company issued $175.0 million aggregate principal amount of 3.50% Convertible Senior Notes due 2022 (2022 Notes), which were repaid in full on April 15, 2022. The 2022 Notes were senior, unsecured obligations of the Company with a maturity date of April 15, 2022. The 2022 Notes could be converted into cash, shares of the Company’s Class A common stock, or a combination thereof, at the Company’s election, at an initial conversion rate of 94.0071 shares of Class A common stock per $1,000 principal amount of the 2022 Notes, which was equivalent to an initial conversion price of approximately $10.64 per share of common stock, subject to adjustment. The Company historically paid interest on the 2022 Notes semi-annually in arrears on April 15 and October 15 of each year.
The indenture did not allow for early redemption of the 2022 Notes by the Company, and no sinking fund was provided for the 2022 Notes. The indenture included customary terms and covenants, including certain events of default after which the 2022 Notes may be due and payable immediately.
Holders had the option to convert the 2022 Notes in multiples of $1,000 principal amount at any time prior to January 15, 2022, but only in the following circumstances:
during any calendar quarter beginning after the calendar quarter ending on September 30, 2017, if the last reported sale price of Class A common stock for at least 20 trading days (whether or not consecutive) during the last 30 consecutive trading days of the immediately preceding fiscal quarter was greater than or equal to 130% of the conversion price of the 2022 Notes on each applicable trading day;
during the five-business day period following any five consecutive trading day period in which the trading price for the 2022 Notes was less than 98% of the product of the last reported sale price of Class A common stock and the conversion rate for the 2022 Notes on each such trading day; or
upon the occurrence of specified corporate events.
During the year ended December 31, 2021, the preceding conditions allowing holders of the 2022 Notes to early convert were not met.
At any time on or after January 15, 2022 until the second scheduled trading day immediately preceding the maturity date of the 2022 Notes on April 15, 2022, a holder could have converted its 2022 Notes, in multiples of $1,000 principal amount. Holders of the 2022 Notes who converted their 2022 Notes in connection with a make-whole fundamental change (as defined in the indenture) were, under certain circumstances, entitled to an increase in the conversion rate. In addition, in the event of a fundamental change prior to the maturity date,
holders would, subject to certain conditions, have the right, at their option, to require the Company to repurchase for cash all or part of the 2022 Notes at a repurchase price equal to 100% of the principal amount of the 2022 Notes to be repurchased, plus accrued and unpaid interest up to, but excluding, the repurchase date. These conditions allowing holders of the 2022 Notes to convert were not met by the maturity date of April 15, 2022.
Concurrently with the November 2020 issuance of the 2025 Notes, the Company used $56.2 million of the net cash proceeds from the 2025 Notes to repurchase $50.0 million principal amount of the 2022 Notes through an individual, privately negotiated transaction. The $56.2 million net cash proceeds were allocated between long-term debt (liability component) of $50.6 million and additional paid-in capital (equity component) of $5.4 million on the Consolidated Balance Sheets, and the remaining $0.2 million was related to the payment of interest. The fair value of the liability component was measured using rates determined for similar debt instruments without a conversion feature. The Company’s effective interest rate of 2.4% was based on the trading details of the 2022 Notes immediately prior to the repurchase date to determine the volatility of the 2022 Notes, and their remaining term. The cash consideration allocated to the equity component was calculated by deducting the fair value of the liability component and interest payment from the total aggregate cash consideration. The difference between the fair value of the 2022 Notes repurchased and the carrying value of $45.2 million resulted in a $5.4 million loss on extinguishment of debt.
In connection with the 2022 Notes offering, the Company entered into a prepaid forward stock repurchase transaction (Prepaid Forward) with a financial institution (Forward Counterparty). Pursuant to the Prepaid Forward, the Company used approximately $78.0 million of the net proceeds from the offering of the 2022 Notes to fund the Prepaid Forward. The aggregate number of shares of the Company’s Class A common stock underlying the Prepaid Forward was approximately 9.2 million. The original expiration date for the Prepaid Forward was April 15, 2022, with the option for early settlement in whole or in part. Upon settlement of the Prepaid Forward, the Forward Counterparty would deliver to the Company the number of shares of Class A common stock underlying the Prepaid Forward or the portion thereof being settled early. The shares purchased under the Prepaid Forward were treated as treasury stock on the Consolidated Balance Sheets (and not outstanding for purposes of the calculation of basic and diluted income (loss) per share), but remained outstanding for corporate law purposes, including for purposes of any future stockholders’ votes, until the Forward Counterparty delivered the shares underlying the Prepaid Forward to the Company.
In the fourth quarter of 2020, 8.8 million shares out of the 9.2 million shares of Class A common stock underlying the Prepaid Forward were early settled and delivered to the Company. In April 2021, the remaining 0.4 million shares of Class A common stock underlying the Prepaid Forward were early settled and delivered to the Company. There was no financial statement impact due to the return of shares; however, shares outstanding for corporate law purposes were reduced by the early settlement.
On April 15, 2022, the Company repaid $125.0 million of principal and $2.2 million of accrued interest in cash to the debt holders to fully settle the 2022 Notes on the maturity date. For the year ended December 31, 2022, the Company’s average stock price did not exceed the initial conversion price of $10.64 of the 2022 Notes, so there was no further dilution.
2025 Convertible Notes
In November 2020, the Company issued $125.0 million aggregate principal amount of 1.25% Convertible Senior Notes due 2025 and granted an option to the initial purchasers to purchase up to an additional $18.8 million aggregate principal amount of the 2025 Notes to cover over-allotments, of which $18.8 million was subsequently exercised during November 2020, resulting in a total issuance of $143.8 million aggregate principal amount of the 2025 Notes. The 2025 Notes are senior, unsecured obligations of the Company and mature on November 15, 2025, unless earlier repurchased or converted into shares of Class A common stock under certain circumstances. The 2025 Notes are convertible into cash, shares of the Company’s Class A common stock, or a combination thereof, at the Company’s election, at an initial conversion rate of 107.1984 shares of Class A common stock per $1,000 principal amount of the 2025 Notes, which is equivalent to an initial conversion price of approximately $9.3285 per share of common stock, subject to adjustment. The Company pays interest on the 2025 Notes semi-annually in arrears on May 15 and November 15 of each year.
The Company may redeem all or any portion of the 2025 Notes on or after November 20, 2023 for cash if the last
reported sale price of the Company’s common stock has been at least 130% of the conversion price then in effect for least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period (including the last trading day of such period) ending on, and including, the trading day immediately preceding the date on which the Company provides the redemption notice, at a redemption price equal to 100% of the principal amount of the 2025 Notes to be redeemed, plus accrued interest and unpaid interest to, but excluding the redemption date. No sinking fund is provided for the 2025 Notes. The indenture includes customary terms and covenants, including certain events of default after which the 2025 Notes may be due and payable immediately.
Holders have the option to convert the 2025 Notes in multiples of $1,000 principal amount at any time prior to August 15, 2025, but only in the following circumstances:
during any calendar quarter beginning after the calendar quarter ending on March 31, 2021, if the last reported sale price of Class A common stock for at least 20 trading days (whether or not consecutive) during the last 30 consecutive trading days of the immediately preceding fiscal quarter is greater than or equal to 130% of the conversion price of the 2025 Notes on each applicable trading day;
during the five-business day period following any five consecutive trading day period in which the trading price for the 2025 Notes is less than 98% of the product of the last reported sale price of Class A common stock and the conversion rate for the 2025 Notes on each such trading day;
if the Company calls any or all of the 2025 Notes for redemption, at any time prior to the close of business on the scheduled trading day immediately before the redemption date; or
upon the occurrence of specified corporate events.
At any time on or after August 15, 2025 until the second scheduled trading day immediately preceding the maturity date of the 2025 Notes on November 15, 2025, a holder may convert its 2025 Notes, in multiples of $1,000 principal amount. Holders of the 2025 Notes who convert their 2025 Notes in connection with a make-whole fundamental change (as defined in the indenture) are, under certain circumstances, entitled to an increase in the conversion rate. In addition, in the event of a fundamental change prior to the maturity date, holders will, subject to certain conditions, have the right, at their option, to require the Company to repurchase for cash all or part of the 2025 Notes at a repurchase price equal to 100% of the principal amount of the 2025 Notes to be repurchased, plus accrued and unpaid interest up to, but excluding, the repurchase date. During the year ended December 31, 2022, the conditions allowing holders of the 2025 Notes to convert were not met.
In connection with the offering of the 2025 Notes, the Company paid $10.2 million to enter into privately negotiated capped call transactions with certain financial institutions (Capped Calls). The Capped Calls have an initial strike price of $9.3285 per share, which corresponds to the initial conversion price of the 2025 Notes. The Capped Calls cover, subject to anti-dilution adjustments substantially similar to those applicable to the conversion rate of the 2025 Notes, the number of Class A common stock initially underlying the 2025 Notes. The Capped Calls are generally expected to reduce potential dilution to the Company’s Class A common stock upon any conversion of the 2025 Notes and/or offset any cash payments the Company is required to make in excess of the principal amount of converted 2025 Notes, as the case may be, with such reduction and/or offset subject to a cap, initially equal to $12.0925, and is subject to certain adjustments under the terms of the Capped Call transactions. The Capped Calls will expire in November 2025, if not exercised earlier.
The Capped Calls are subject to adjustment upon the occurrence of specified extraordinary events affecting the Company, including merger events, tender offers and announcement events. In addition, the Capped Calls are subject to certain specified additional disruption events that may give rise to a termination of the Capped Calls, including nationalization, insolvency or delisting, changes in law, failures to deliver, insolvency filings and hedging disruptions. For accounting purposes, the Capped Calls are separate transactions, and not part of the terms of the 2025 Notes. As these transactions meet certain accounting criteria, the Capped Calls are recorded in stockholders’ equity as a reduction to additional paid-in capital and will not be remeasured as long as they continue to meet certain accounting criteria.
Accounting for the 2022 and 2025 Convertible Notes
Pre adoption of ASU 2020-06
The 2022 and 2025 Convertible Notes were separated into liability and equity components for accounting purposes. The carrying amounts of the liability component were initially calculated by measuring the fair value of similar liabilities that do not have associated convertible features. The carrying amounts of the equity component representing the conversion option were determined by deducting the fair value of the liability component from the par value of the respective Convertible Senior Notes. This difference represents the debt discount that was amortized to interest expense over the respective terms of the 2022 Notes and 2025 Notes using the effective interest rate method. Upon issuance, the carrying amounts of the liability component from the issuance of the 2022 Notes and the 2025 Notes of $128.3 million and $106.9 million, respectively were recorded in long-term debt on the Consolidated Balance Sheets. The carrying amounts of the equity component representing the conversion option was determined to be $46.7 million and $36.9 million for the 2022 Notes and 2025 Notes, respectively, upon issuance. The equity component was recorded in additional paid-in-capital and was not remeasured so long as it continued to meet the conditions for equity classification.
The liability component was accreted over the debt term up to the face value of the 2022 Notes of $175.0 million and 2025 Notes of $143.8 million, which resulted in non-cash interest expense being recognized in the Consolidated Statements of Operations. The accretion of the 2022 Notes and 2025 Notes to par to long-term debt was amortized into interest expense over the term of the 2022 Note and 2025 Notes using an effective interest rate of approximately 10.5% and 7.5%, respectively.
In accounting for the debt issuance costs of $5.7 million and $4.7 million related to the 2022 Notes and 2025 Notes, respectively, the Company allocated each of the total amounts incurred to the liability and equity components of the 2022 Notes and 2025 Notes based on their relative values. Issuance costs attributable to the liability component of the 2022 Notes were $4.2 million upon issuance and were amortized, along with the debt discount, to interest expense over the contractual term of the 2022 Notes at an effective interest rate of 10.5%. Issuance costs attributable to the liability component of the 2025 Notes were $3.5 million upon issuance and were amortized, along with the debt discount, to interest expense over the contractual term of the 2025 Notes at an effective interest rate of 7.5%. Issuance costs attributable to the equity component were $1.5 million and $1.2 million for the 2022 Notes and 2025 Notes, respectively, and were netted against the equity component representing the conversion option in additional paid-in-capital.
Post adoption of ASU 2020-06
On January 1, 2022, the Company adopted ASU 2020-06 based on the modified retrospective transition method. Under such transition, prior period information has not been retrospectively adjusted. Upon adoption of ASU 2020-06, the Company is no longer recording the conversion feature of its 2022 Notes and 2025 Notes in equity. Instead, the Company combined the previously separated equity component with the liability component, which together are now classified as debt, thereby eliminating the subsequent amortization of the debt discount as interest expense. Similarly, the portion of debt issuance costs previously allocated to equity was reclassified to debt and amortized as interest expense. Accordingly, the Company recorded a decrease to additional paid-in-capital of $78.2 million, a decrease to accumulated deficit of $47.1 million, and an increase to the debt balance of the 2022 Notes and 2025 Notes of $2.3 million and $28.8 million, respectively. In addition, the Company recorded the reversal of U.S. deferred tax liabilities (net) of $7.3 million associated with the 2022 Notes and 2025 Notes upon the adoption of ASU 2020-06, with a corresponding decrease to accumulated deficit for the same amount.
As of December 31, 2022 and 2021, the outstanding principal on the 2022 Notes was zero and $125.0 million, respectively, the unamortized debt discount was zero and $2.4 million, respectively, the unamortized debt issuance cost was zero and $0.2 million, respectively, and the net carrying amount of the liability was zero and $122.4 million, respectively, which was recorded as short-term debt within the Consolidated Balance Sheets. For the year ended December 31, 2022, 2021 and 2020 the Company recorded interest expense of $1.3 million, $4.4 million and $5.9 million respectively, for contractual coupon interest, and $0.2 million, $0.6 million and $0.8 million respectively, for amortization of debt issuance costs. For the year ended December 31, 2022, 2021 and 2020, the Company recorded zero, $7.8 million and $9.6 million respectively, for amortization of the debt discount.
As of December 31, 2022 and 2021, the outstanding principal on the 2025 Notes was $143.8 million, the unamortized debt discount was zero and $29.8 million, respectively, the unamortized debt issuance cost was $3.0 million and $2.7 million, respectively, and the net carrying amount of the liability was $141.0 million and $111.3 million, respectively, which was recorded as long-term debt within the Consolidated Balance Sheets. For the year
ended December 31, 2022, 2021 and 2020, the Company recorded interest expense of $1.8 million, $1.8 million and $0.2 million respectively, for contractual coupon interest, and $1.0 million, $0.7 million and $0.1 million respectively, for amortization of debt issuance costs. For the year ended December 31, 2022, 2021 and 2020, the Company recorded zero, $6.4 million and $0.8 million respectively, for amortization of the debt discount.
v3.22.4
Stockholders' equity
12 Months Ended
Dec. 31, 2022
Equity [Abstract]  
Stockholders' Equity Note Disclosure [Text Block]
Common stock. The Company has two classes of authorized common stock: Class A common stock with 500 million shares authorized and Class B common stock with 150 million shares authorized. As of December 31, 2022, 128.6 million shares of Class A stock were issued and outstanding and 26.3 million shares of Class B stock were issued and outstanding. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting power and conversion rights. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to ten votes per share. Each share of Class B common stock is convertible at any time at the option of the stockholder into one share of Class A common stock and has no expiration date. The Class B common stock is also convertible into Class A common stock on the same basis upon any transfer, whether or not for value, except for “permitted transfers” as defined in the Company’s restated certificate of incorporation. Each share of Class B common stock will convert automatically into one share of Class A common stock upon the date when the outstanding shares of Class B common stock represent less than 10% of the aggregate number of shares of common stock then outstanding. As of December 31, 2022, the Class B stock continued to represent greater than 10% of the overall outstanding shares.
The Company had the following shares of common stock reserved for issuance upon the exercise of equity instruments as of December 31, 2022:
(in thousands)
December 31, 2022
Stock options outstanding
3,089 
Restricted stock units outstanding
8,727 
Performance stock units outstanding
942 
Common stock available for future grants
38,845 
Total common stock shares reserved for issuance51,603 
Stock Repurchase Program. On January 27, 2022, the Company’s board of directors authorized the repurchase of up to $100 million of its Class A capital stock. Stock repurchases under the program may be made periodically using a variety of methods, including without limitation, open market purchases, block trades or otherwise in compliance with all federal and state securities laws and state corporate law and in accordance with the single broker, timing, price, and volume guidelines set forth in Rule 10b-18 and Rule 10b5-1 under the Securities Exchange Act of 1934, as amended, as such guidelines may be modified by the SEC from time to time. This stock repurchase program has no time limit and may be modified, suspended, or discontinued at any time. The Company currently intends to hold its repurchased shares as treasury stock.
As of December 31, 2022, the remaining amount of share repurchases under the program was $60.4 million. The following table summarizes share repurchases during the year ended December 31, 2022. There were no shares repurchased during the year ended December 31, 2021 and 2020.

(in thousands, except per share data)2022
Shares repurchased5,967 
Average price per share$6.64 
Value of shares repurchased$39,618 
v3.22.4
Employee benefit plans
12 Months Ended
Dec. 31, 2022
Dec. 31, 2020
Share-based Payment Arrangement [Abstract]    
Employee benefit plans Stock-based compensation. Stock-based awards granted to qualified employees, non-employee directors and consultants are measured at fair value and recognized as an expense. The Company primarily issues restricted stock units and accounts for forfeitures as they occur. For service-based awards, stock-based compensation is recognized on a straight-line basis over the requisite service period. For performance and market-based awards which also require a service period, the Company uses graded vesting over the longer of the derived service period or when the performance or market condition is satisfied. 14,830
v3.22.4
Net loss per share
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Net loss per share
Prior to the adoption of ASU 2020-06, the Company calculated the potential dilutive effect of its 2022 Notes and 2025 Notes under the treasury stock method. As a result, only the amount by which the conversion value exceeded the aggregate principal amount of the 2022 Notes and 2025 Notes (the conversion spread) was considered in the diluted net income (loss) per share computation. The conversion spread was dilutive in periods of net income when the average market price of the Company’s Class A common stock for a given reporting period exceeded the initial conversion prices of $10.64 and $9.3285 per share for the 2022 Notes and 2025 Notes, respectively. For the year ended December 31, 2021, only the conversion spread relating to the 2025 Notes had a dilutive effect on net income per share. The initial conversion price of the 2022 Notes was greater than the average market price of the Company’s Class A Common Stock for the year ended December 31, 2021, and as such, had no impact on anti-dilutive or dilutive share calculations. Upon conversion of the 2025 Notes, there will be no economic dilution until the average market price of the Company’s Class A common stock exceeds the cap price of $12.0925 per share, as exercise of the Capped Calls offset any dilution from the 2025 Notes from the initial conversion price up to the cap price. The Capped Calls are excluded from diluted net income per share as they would be anti-dilutive.
The Company’s 2022 Notes matured on April 15, 2022 and the 2025 Notes will mature on November 15, 2025, unless earlier repurchased or converted into shares of Class A common stock under certain circumstances as described further in Note 4 Financing arrangements. On April 15, 2022, the Company repaid $125.0 million of principal and $2.2 million of accrued interest in cash to the debt holders to fully settle the 2022 Notes on the maturity date. The repayment of the 2022 Notes did not have an impact on net income per share for the period ended December 31, 2022. The 2025 Notes are convertible into cash, shares of the Company’s Class A common stock, or a combination thereof, at the Company’s election. While the Company has the intent and ability to deliver
cash up to the principal amount, the maximum number of shares issuable upon conversion of the 2025 Notes is 20.8 million shares of Class A common stock.
Additionally, the calculation of weighted-average shares outstanding for the year ended December 31, 2021 and 2020 excludes approximately 9.2 million shares effectively repurchased and held in treasury stock on the Consolidated Balance Sheets as a result of the Prepaid Forward transaction entered into in connection with the 2022 Note offering.
Upon the adoption of ASU 2020-06 on January 1, 2022, the Company calculated the potential dilutive effect of its 2022 Notes and 2025 Notes under the if-converted method. Under the if-converted method, diluted net income (loss) per share was determined by assuming all of the 2022 Notes and the 2025 Notes were converted into shares of the Company’s Class A common stock at the beginning of the reporting period. In addition, interest charges on the 2022 Notes and 2025 Notes, which includes both coupon interest and the amortization of debt issuance costs, were added back to the numerator on an after-tax effected basis.
The rights of the holders of Class A common stock and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to ten votes per share. Each share of Class B common stock is convertible at any time at the option of the stockholder into one share of Class A common stock and has no expiration date. Each share of Class B common stock will convert automatically into one share of Class A common stock upon the date when the outstanding shares of Class B common stock represent less than 10% of the aggregate number of shares of common stock then outstanding. Class A common stock is not convertible into Class B common stock. The computation of the diluted net income (loss) per share of Class A common stock assumes the conversion of Class B common stock.
v3.22.4
Income taxes
12 Months Ended
Dec. 31, 2022
Income Tax Disclosure [Abstract]  
Income taxes
8. Income taxes
Income (loss) before income taxes consisted of the following:
Year ended December 31,
(in thousands)
202220212020
United States$26,215 $83,419 $(70,572)
Foreign8,238 6,681 8,615 
Income (loss) before income taxes$34,453 $90,100 $(61,957)
Income tax expense (benefit) consisted of the following:
Year ended December 31,
(in thousands)
202220212020
Current
Federal$$(128)$(164)
State818 267 84 
Foreign2,076 (7,669)4,956 
Total current2,896 (7,530)4,876 
Deferred
Federal5,039 (205,856)— 
State(2,312)(67,933)— 
Foreign(17)248 (50)
Total deferred2,710 (273,541)(50)
Income tax expense (benefit)$5,606 $(281,071)$4,826 
Year ended December 31,
202220212020
(dollars in thousands)
$%$%
$
%
Reconciliation to statutory rate
Tax at federal statutory rate$7,234 21.0 %$18,921 21.0 %$(13,011)21.0 %
Nondeductible items1,805 5.2 1,684 1.9 227 (0.4)
Impact of foreign operations1,572 4.6 (8,222)(9.2)5,010 (8.1)
State income taxes, net of federal benefit1,189 3.5 1,828 2.0 (682)1.1 
Change in valuation allowance— — (284,551)(315.8)16,767 (27.1)
Stock-based compensation(1,192)(3.5)(5,345)(5.9)696 (1.1)
Tax credits(5,222)(15.1)(6,091)(6.8)(3,538)5.7 
Other220 0.6 705 0.8 (643)1.1 
Income tax expense (benefit) at effective tax rate$5,606 16.3 %$(281,071)(312.0)%$4,826 (7.8)%

The effective tax rate of 16.3% for 2022 primarily resulted from tax expense on pre-tax book income, partially offset by the income tax benefits from stock-based compensation and the federal and California research and development credits, and an income tax benefit related to foreign provision to income tax return adjustments. The negative effective tax rate of 312.0% for 2021 primarily resulted from tax expense on pre-tax book income, offset by the income tax benefit from the full release of valuation allowance on United States federal and state deferred tax assets and the release of a portion of the Company’s uncertain tax positions as a result of a lapse in the statute of limitations in certain jurisdictions, and income tax benefits from stock-based compensation and federal and California research and development credits.
Deferred income taxes reflect the net tax effects of temporary differences between the carrying amounts of assets and liabilities for financial reporting purposes and the amounts used for income tax purposes. Significant components of the Company’s deferred tax assets and deferred tax liabilities were as follows:

Year ended December 31,
(in thousands)
20222021
Deferred tax assets:
Net operating loss carryforwards$118,399 $158,125 
Tax credit carryforwards91,147 85,650 
Stock-based compensation6,034 5,551 
Allowance for returns1,818 2,504 
Intangible assets3,753 4,803 
Depreciation and amortization1,661 1,313 
Operating lease liabilities10,177 12,359 
Capitalized research and development costs29,122 — 
Accruals and reserves22,001 10,514 
Total deferred tax assets$284,112 $280,819 
Deferred tax liabilities:
Operating lease right-of-use assets(5,072)(6,389)
Total deferred tax liabilities(5,072)(6,389)
Net deferred tax assets$279,040 $274,430 
Each quarter the Company assesses the recoverability of its existing deferred tax assets under ASC Topic 740. The Company assesses available positive and negative evidence and uses judgment regarding past and future events, including operating results to estimate whether sufficient future taxable income will be generated to use its existing deferred tax assets. In the assessment for the year ended December 31, 2021, the Company concluded it was more likely than not that its deferred tax assets related to United States federal and state income taxes will be realizable and the United States federal and state valuation allowances were fully released. For the period ended December 31, 2022, based on evidence currently available, the Company continues to believe that it is more likely than not that its United States federal, state and foreign deferred tax assets will be realized and thus, a valuation allowance is not required on its deferred tax assets. The Company will continue assessing the realizability of the deferred tax assets in each of the applicable jurisdictions going forward.
As of December 31, 2022, the Company’s federal, California and other state net operating loss carryforwards for income tax purposes were $441.7 million, $235.9 million and $167.2 million, net of reserves, respectively. Also, the Company’s federal and California state tax credit carryforwards were $51.4 million and $50.2 million, net of reserves, respectively. If not utilized, federal net operating losses that arose before 2018 and California loss carryforwards will begin to expire from 2035 to 2040, while federal credit and other state loss carryforwards will begin to expire primarily from 2023 to 2042. Federal net operating losses that arise after 2017 and all California tax credits will be carried forward indefinitely.
Uncertain income tax positions. The Company had gross unrecognized tax benefits of $23.4 million, $21.3 million and $27.5 million, as of December 31, 2022, 2021 and 2020, respectively. For fiscal year 2022, 2021 and 2020, total unrecognized income tax benefits were $9.8 million, $7.3 million and $15.3 million, respectively, and if recognized, would reduce income tax expense. A material portion of the Company’s gross unrecognized tax benefits, if recognized, would increase the Company’s net operating loss carryforward.
The Company conducts business globally and as a result, files income tax returns in the United States and foreign jurisdictions. The Company’s unrecognized tax benefits relate primarily to unresolved matters with taxing authorities. While it is often difficult to predict the final outcome or the timing of resolution of any particular uncertain tax position, the Company believes that its reserves reflect the more likely outcome. The Company believes, due to statute of limitations expiration, that within the next 12 months it is possible that up to $2.3 million of uncertain tax positions could be released. It is also reasonably possible that additional uncertain tax positions will be added. It is not reasonably possible at this time to quantify the net effect.
A reconciliation of the beginning and ending amount of gross unrecognized income tax benefits are as follows:
Year ended December 31,
(in thousands)
202220212020
Balance at January 1$21,330 $27,471 $27,178 
Increase related to current year tax positions2,543 3,081 2,541 
Increase related to prior year tax positions— 3,900 1,681 
Decrease related to prior year tax positions(459)(13,122)(3,929)
Balance at December 31$23,414 $21,330 $27,471 
The Company’s policy is to account for interest and penalties related to income tax liabilities within the provision for income taxes. The balances of accrued interest and penalties recorded in the balance sheets and provision were not material for any period presented.
The Company files income tax returns in the United States and in foreign jurisdictions. As of December 31, 2022, the Company continues to assert indefinite reinvestment to the extent of any foreign withholding taxes on the undistributed earnings related to these foreign branches. Any foreign withholding tax on these earnings is deemed not to be material.
v3.22.4
Commitments, contingencies and guarantees
12 Months Ended
Dec. 31, 2022
Commitments and Contingencies Disclosure [Abstract]  
Commitments, contingencies and guarantees Facility Leases. The Company leases its facilities under long-term operating leases, which expire at various dates through 2027.
The components of net lease cost, which were primarily recorded in operating expenses, were as follows:
Year ended December 31,
(in thousands)202220212020
Operating lease cost (1)
$11,060 $11,566 $14,815 
Sublease income(2,907)(964)(526)
Right-of-use asset impairment cost— — 12,460 
Net lease cost$8,153 $10,602 $26,749 
(1)    Operating lease cost includes variable lease costs, which are immaterial.

Supplemental cash flow information related to leases was as follows:
Year ended December 31,
(in thousands)202220212020
Cash paid for amounts included in the measurement of lease liabilities
Operating cash flows from operating leases$14,595 $14,902 $14,310 
Right-of-use assets obtained in exchange for operating lease liabilities1,221 2,475 1,343 
Operating lease modification to decrease right-of-use assets(232)— (2,251)

Supplemental balance sheet information related to leases was as follows:
December 31, 2022December 31, 2021
Weighted-average remaining lease term (in years) - operating leases3.814.64
Weighted-average discount rate - operating leases6.1%6.0%

As of December 31, 2022, maturities of operating lease liabilities were as follows:
(in thousands)
December 31, 2022
2023$12,054 
202412,251 
202511,879 
202611,727 
2027973 
Thereafter— 
Total lease payments48,884 
Less: Imputed interest(5,733)
Present value of lease liabilities$43,151 
Other Commitments. In the ordinary course of business, the Company enters into multi-year agreements to purchase sponsorships with event organizers, resorts and athletes as part of its marketing efforts; software licenses related to its financial and IT systems; debt agreements; and various other contractual commitments. As of December 31, 2022, future commitments were as follows:
(in thousands)
Total20232024202520262027Thereafter
Other contractual commitments78,955 52,472 25,050 1,433 — — — 
Long-term debt (1)
149,141 1,797 1,797 145,547 — — — 
Total contractual cash obligations
$228,096 $54,269 $26,847 $146,980 $— $— $— 
(1)    The Company's convertible senior note is due in November 2025. The balances include accrued and unpaid interest as of December 31, 2022. Refer to Note 4 Financing arrangements.

Legal proceedings and investigations. Since 2015, Contour IP Holdings LLC (CIPH) and related entities have filed lawsuits in various federal district courts alleging, among other things, patent infringement in relation to certain GoPro products. Following litigation in federal courts and the United States Patent and Trademark Office, CIPH’s patents were ruled invalid in March 2022. Judgment was then entered in favor of the Company and against CIPH. CIPH later appealed, and the appeal is pending at the Federal Circuit. The Company believes that the appeal lacks merit and intends to vigorously defend against CIPH's appeal.
The Company regularly evaluates the associated developments of the legal proceeding described above, as well as other legal proceedings that arise in the ordinary course of business. While litigation is inherently uncertain, based on the currently available information, the Company is unable to determine a loss or a range of loss, and does not believe the ultimate cost to resolve these matters will have a material adverse effect on its business, financial condition, cash flows or results of operations.
Indemnifications. The Company has entered into indemnification agreements with its directors and executive officers which requires the Company to indemnify its directors and executive officers against liabilities that may arise by reason of their status or service. In addition, in the normal course of business, the Company enters into agreements that contain a variety of representations and warranties, and provide for general indemnification. The Company’s exposure under these agreements is unknown because it involves claims that may be made against the Company in the future, but have not yet been made. It is not possible to determine the maximum potential amount under these indemnification agreements due to the Company’s limited history with indemnification claims and the unique facts and circumstances involved in each particular agreement. As of December 31, 2022, the Company has not paid any claims nor has it been required to defend any action related to its indemnification obligations. However, the Company may record charges in the future as a result of these indemnification obligations.
v3.22.4
Concentrations of risk and geographic information
12 Months Ended
Dec. 31, 2022
Risks and Uncertainties [Abstract]  
Concentrations of risk and segment information Concentrations of risk and geographic information Concentration of risk. Financial instruments which potentially subject the Company to concentration of credit risk includes cash and cash equivalents, marketable securities, accounts receivable, and derivative instruments, including the Capped Calls associated with the 2025 Notes. The Company places cash and cash equivalents with high-credit-quality financial institutions; however, the Company maintains cash balances in excess of the FDIC insurance limits. The Company believes that credit risk for accounts receivable is mitigated by the Company’s credit evaluation process, relatively short collection terms and dispersion of its customer base. The Company generally does not require collateral and losses on trade receivables have historically been within the Company’s expectations. The Company believes its counterparty credit risk related to its derivative instruments is mitigated by transacting with major financial institutions with high credit ratings.
Customers who represented 10% or more of the Company’s net accounts receivable balance were as follows:
December 31, 2022December 31, 2021
Customer A30%18%
Customer B11%30%
The following table summarizes the Company’s accounts receivables sold, without recourse, and factoring fees paid:
Year ended December 31,
(in thousands)
202220212020
Accounts receivable sold$122,662 $108,636 $99,410 
Factoring fees1,122 426 678 
Third-party customers who represented 10% or more of the Company’s total revenue were as follows:
Year ended December 31,
202220212020
Customer A*11%10%
* Less than 10% of total revenue for the period indicated.
Supplier concentration. The Company relies on third parties for the supply and manufacture of its products, some of which are sole-source suppliers. The Company believes that outsourcing manufacturing enables greater scale and flexibility. As demand and product lines change, the Company periodically evaluates the need and advisability of adding manufacturers to support its operations. In instances where a supply and manufacture agreement does not exist or suppliers fail to perform their obligations, the Company may be unable to find alternative suppliers or satisfactorily deliver its products to its customers on time, if at all. The Company also relies on third parties with whom it outsources supply chain activities related to inventory warehousing, order fulfillment, distribution and other direct sales logistics. In instances where an outsourcing agreement does not exist or these third parties fail to perform their obligations, the Company may be unable to find alternative partners or satisfactorily deliver its products to its customers on time.
Geographic information
Revenue by geographic region was as follows:
Year ended December 31,2022 vs 20212021 vs 2020
(in thousands)
202220212020
% Change
% Change
Americas
$521,270 $607,534 $483,331 (14)%26 %
Europe, Middle East and Africa (EMEA)300,870 305,654 218,670 (2)40 
Asia and Pacific (APAC)
271,401 247,896 189,924 31 
Total revenue
$1,093,541 $1,161,084 $891,925 (6)%30 %
Revenue from the United States, which is included in the Americas geographic region, was $446.0 million, $526.5 million, and $428.3 million for 2022, 2021 and 2020, respectively. No other individual country exceeded 10% of total revenue for any period presented. The Company does not disclose revenue by product category as it does not track sales incentives and other revenue adjustments by product category to report such data.
As of December 31, 2022 and 2021, long-lived assets, which represent net property and equipment, located outside the United States, primarily in Hong Kong and mainland China, were $4.0 million and $6.2 million, respectively.
v3.22.4
Restructuring charges
12 Months Ended
Dec. 31, 2022
Restructuring and Related Activities [Abstract]  
Restructuring charges Restructuring charges
Restructuring charges for each period were as follows:
Year ended December 31,
(in thousands)
202220212020
Cost of revenue
$8,090 $70 $1,201 
Research and development
244 600 8,062 
Sales and marketing
137 361 10,684 
General and administrative
77 195 5,449 
Total restructuring charges
$8,548 $1,226 $25,396 
Fourth quarter 2022 restructuring
In December 2022, the Company approved a restructuring plan to reduce camera production-related costs by globally realigning its manufacturing footprint to concentrate production activities in two primary locations: China and Thailand. Under the fourth quarter 2022 restructuring, the Company recorded restructuring charges of $8.1 million including $7.0 million for camera production line closure costs and $1.1 million for related transitional costs to migrate production to the Company’s remaining manufacturing locations.
The following table provides a summary of the Company’s restructuring activities and the movement in the related liabilities recorded in accrued expenses and other current liabilities on the Consolidated Balance Sheets under the fourth quarter 2022 restructuring.
(in thousands)
Contract and Other Costs
Total
Restructuring liability as of December 31, 2021$— $— 
Restructuring charges
8,061 8,061 
Non-cash reductions
(228)(228)
Restructuring liability as of December 31, 2022$7,833 $7,833 
Second quarter 2020 restructuring
On April 14, 2020, the Company approved a restructuring to reduce future operating expenses, optimize its business model and address the impact of the COVID-19 pandemic. The restructuring provided for a reduction of the Company’s global workforce by approximately 20% and the consolidation of certain leased office facilities. Under the second quarter 2020 restructuring, the Company recorded restructuring charges of $31.5 million to date, including a $12.5 million right-of-use asset impairment primarily related to its headquarters campus, $7.4 million related to severance, and $11.6 million related to accelerated depreciation and other charges.
The Company ceased using a portion of its headquarters campus in the third quarter of 2020 as part of the second quarter 2020 restructuring. The unused portion of the Company’s headquarters campus has its own identifiable expenses and is not dependent on other parts of the Company, and thus was considered its own asset group. As a result, the Company impaired a part of the carrying value of the related right-of-use asset to its estimated fair value using the discounted future cash flows method. The discounted future cash flows were determined based on future sublease rental rates, future sublease market conditions and a discount rate based on the weighted-average cost of capital. Based on the results of the Company’s assessment, the Company recognized a $12.3 million impairment, which was reflected as a restructuring expense, primarily in the operating expense financial statement line items in the Consolidated Statements of Operations.
v3.22.4
Valuation and Qualifying Accounts
12 Months Ended
Dec. 31, 2022
SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract]  
SEC Schedule, 12-09, Schedule of Valuation and Qualifying Accounts Disclosure [Text Block]
VALUATION AND QUALIFYING ACCOUNTS
For the year ended December 31, 2022, 2021 and 2020
(in thousands)Balance at Beginning of YearCharges to RevenueCharges (Benefits) to ExpenseCharges to Other Accounts - EquityDeductions/Write-offsBalance at End of Year
Allowance for doubtful accounts receivable:
Year ended December 31, 2022$700 $— $(294)$— $(16)$390 
Year ended December 31, 2021492 — 393 — (185)700 
Year ended December 31, 2020830 — (24)— (314)492 
Valuation allowance for deferred tax assets:
Year ended December 31, 2022$— $— $— $— $— $— 
Year ended December 31, 2021287,276 — (284,551)— (2,725)— 
Year ended December 31, 2020277,693 — 16,762 (7,179)— 287,276 
v3.22.4
Summary of business and significant accounting policies (Policies)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2020
Accounting Policies [Abstract]    
Basis of presentation
Basis of presentation. The accompanying consolidated financial statements have been prepared in accordance with United States generally accepted accounting principles (GAAP) for financial information set forth in the Accounting Standards Codification (ASC), as published by the Financial Accounting Standards Board (FASB), and with the applicable rules and regulations of the Securities and Exchange Commission (SEC). The Company’s fiscal year ends on December 31, and its fiscal quarters end on March 31, June 30 and September 30.
The Company’s operating results, financial position and cash flows for fiscal years 2021 and 2020 were negatively impacted by the COVID-19 pandemic. As the global impact of the pandemic continued to evolve in 2021, the Company utilized its direct-to-consumer sales channel strategy through GoPro.com to maximize its reach to customers. This action, along with a reduction in on-going operating expenses, helped accelerate the Company’s ability to consistently achieve profitability in 2021. The Company’s operating results for the full year of 2022 were negatively impacted when compared to 2021 by a stronger U.S. dollar as well as inflationary pressure on operating costs such as wages and component price increases.
The consolidated financial statements reflect all adjustments, which are normal and recurring in nature, that management believes are necessary for the fair statement of the Company's financial statements, but are not necessarily indicative of the results expected for any other future period.
In August 2020, the FASB issued ASU 2020-06, Debt - Debt with Conversion and Other Options (Subtopic 470- 20) and Derivatives and Hedging - Contracts in Entity’s Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity’s Own Equity (ASU 2020-06), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity. This accounting standard update, which was adopted effective January 1, 2022, had a significant impact on the ongoing accounting of the 2022 and 2025 Convertible Senior Notes. Due to the adoption of this accounting standard update under the modified retrospective method, prior periods were not restated. Refer to the Recent Accounting Standards section below for additional details on the adoption of this accounting standard update.
 
Principles of consolidation Principles of consolidation. These consolidated financial statements include all the accounts of the Company and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation.  
Use of estimates Use of estimates. The preparation of consolidated financial statements in accordance with GAAP requires management to make estimates and assumptions that affect the amounts reported and disclosed in the Company’s consolidated financial statements and accompanying notes. Significant estimates and assumptions made by management include those related to revenue recognition and the allocation of the transaction price (including sales incentives, sales returns and implied post contract support), inventory valuation, product warranty liabilities, the valuation, impairment and useful lives of long-lived assets (property and equipment, operating lease right-of-use assets, intangible assets and goodwill), fair value of convertible senior notes, and income taxes. The Company bases its estimates and assumptions on historical experience and on various other factors that it believes to be reasonable under the circumstances, including but not limited to the potential impacts arising from the COVID-19 pandemic, the results of which form the basis for making judgments about the carrying values of assets and liabilities that are not readily apparent from other sources. The extent and continued impact of COVID-19 has been taken into account by management in making the significant assumptions and estimates related to the above; however, if the duration and spread of the outbreak, the impact on the Company’s customers, and the effect on the Company’s contract manufacturers, vendors and supply chains is different from the Company’s estimates and assumptions, then actual results could differ materially. To the extent there are material differences between the estimates and the actual results, future results of operations could be affected.  
Comprehensive income (loss) Comprehensive income (loss). For all periods presented, comprehensive income (loss) approximated net income (loss). Therefore, the Consolidated Statements of Comprehensive Income (Loss) have been omitted  
Cash, Cash Equivalents, and Marketable Securities Cash equivalents and marketable securities. Cash equivalents consist of investments in money market funds with maturities of three months or less from the date of purchase. Marketable securities consist of commercial paper, government securities and corporate debt securities, and are classified as available-for-sale securities. The Company views these securities as available to support current operations and has classified all available-for-sale securities as current assets. Available-for-sale securities are carried at fair value with unrealized gains and losses, if any, included in stockholders’ equity. Unrealized gains and losses are charged against other income (expense), net, for declines in fair value below the cost of an individual investment that is deemed to be other than temporary. The Company has not identified any marketable securities as other-than-temporarily impaired for the periods presented. The cost of securities sold is based upon a specific identification method.  
Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy Restricted cash. The Company had no restricted cash as of December 31, 2022 and 2021.  
Receivables, Trade and Other Accounts Receivable, Allowance for Doubtful Accounts, Policy Accounts receivable. Accounts receivable are stated at invoice value less estimated allowances for doubtful accounts. Allowances are recorded based on the Company’s assessment of various factors, such as: historical experience, credit quality of its customers, age of the accounts receivable balances, geographic related risks, economic conditions and other factors that may affect a customer’s ability to pay. The allowance for doubtful accounts as of December 31, 2022 and 2021 was $0.4 million and $0.7 million, respectively.  
Inventory, Policy Inventory. Inventory consists of finished goods and component parts, which are purchased directly from contract manufacturers or from suppliers. Inventory is stated at the lower of cost or net realizable value on a first-in, first-out basis. The Company writes down its inventory for estimated obsolescence or excess inventory equal to the difference between the cost of inventory and estimated market value plus the estimated cost to sell. The Company’s assessment of market value is based upon assumptions around market conditions and estimated future demand for its products within a specified time horizon, generally 12 months, product life cycle status, product development plans and current sales levels. Adjustments to reduce inventory to net realizable value are recognized in cost of revenue.  
Advertising Costs, Policy, Capitalized Direct Response Advertising Point of purchase (POP) displays. The Company provides retailers with POP displays, generally free of charge, in order to facilitate the marketing of the Company’s products within retail stores. The POP displays contain a display that broadcasts video images taken by GoPro cameras along with product placement available for cameras and accessories. POP display costs are capitalized as long-term assets and charged to sales and marketing expense over the expected period of benefit, which generally ranges from 24 to 36 months. Cash outflows and amortization related to POP displays are classified as operating activities in the Consolidated Statement of Cash Flows.  
Property, Plant and Equipment, Policy Property and equipment, net. Property and equipment are stated at cost and are depreciated using the straight-line method over the estimated useful life of the assets, ranging from one to nine years. Leasehold improvements are amortized over the shorter of the lease term or their expected useful life. Property and equipment pending installation, configuration or qualification are classified as construction in progress. Costs of maintenance and repairs that do not improve or extend the lives of the respective assets are expensed as incurred.  
Fair Value Measurement, Policy
Fair value measurements. Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the reporting date. The Company estimates and categorizes the fair value of its financial assets by applying the following hierarchy:
Level 1
Valuations based on quoted prices in active markets for identical assets or liabilities that the Company has the ability to directly access.
Level 2
Valuations based on quoted prices for similar assets or liabilities; valuations for interest-bearing securities based on non-daily quoted prices in active markets; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable data for substantially the full term of the assets or liabilities.
Level 3
Valuations based on inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities.
A financial instrument’s level within the fair value hierarchy is based on the lowest level of any input that is significant to the fair value measurement.
 
Leases Leases. The Company leases its office space and facilities under cancelable and non-cancelable operating leases. Operating leases are presented as operating lease right-of-use (ROU) assets, short-term operating lease liabilities and long-term operating lease liabilities on the Company’s Consolidated Balance Sheets. ROU assets represent the Company’s right to control the use of an underlying asset for the lease term and lease liabilities represent the Company’s obligation to make lease payments arising from the lease.Operating lease ROU assets and liabilities are recognized at the lease commencement date based on the present value of future lease payments. The Company determines its incremental borrowing rate based on the approximate rate at which the Company would borrow, on a secured basis, to calculate the present value of future lease payments. Lease expenses are recognized on a straight-line basis over the lease term. Certain leases include an option to renew with terms that can extend the lease term from one to five years. The exercise of a lease renewal option is at the Company’s sole discretion and is included in the lease term when the Company is reasonably certain it will exercise the option.  
Goodwill and Intangible Assets, Policy Goodwill and acquired intangible assets. Goodwill represents the excess of the purchase price over the fair value of the net assets acquired in a business combination. Acquired intangible assets other than goodwill are amortized over their useful lives unless the lives are determined to be indefinite. For intangible assets acquired in a business combination, the determination of the estimated fair values of the assets received involves significant judgments and estimates. These judgments can include, but are not limited to, the cash flows that an asset is expected to generate in the future, technology obsolescence, and the appropriated weighted-average cost of capital. Valuation approaches consistent with the market approach, income approach and/or cost approach are used to measure fair value.  
Impairment or Disposal of Long-Lived Assets, Including Intangible Assets, Policy
Impairment of goodwill and long-lived assets. The Company performs an annual assessment of its goodwill during the fourth quarter of each calendar year or more frequently if indicators of potential impairment exist, such as an adverse change in business climate or a decline in the overall industry demand, that would indicate it is more likely than not that the fair value of its single reporting unit is less than its carrying value. There was no impairment of goodwill recorded for any periods presented. For the Company’s annual impairment testing in 2022, the Company did not identify any indicators of potential impairment of its single reporting unit. Other indefinite-lived intangible assets are assessed for impairment at least annually. If their carrying value exceeds the estimated fair value, the difference is recorded as an impairment.
Long-lived assets, such as property and equipment, intangible assets subject to amortization and right-of-use assets, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset group may not be recoverable. Recoverability of assets to be held and used is measured by comparing the carrying amount to the estimated future undiscounted cash flows expected to be generated by the asset group. If it is determined that an asset group is not recoverable, an impairment charge is recognized for the amount by which the carrying amount of the asset group exceeds its fair value. The Company recorded a $12.5 million right-of-use asset impairment in 2020 primarily related to its headquarter campus as described further in Note 11 Restructuring charges. The Company used the following significant assumptions to determine the
impairment charge: future sublease rental rates, future sublease market conditions and a discount rate based on the weighted-average cost of capital. The Company did not record any impairment charges in 2022 or 2021.
 
Standard Product Warranty, Policy Warranty. The Company records a liability for estimated product warranty costs at the time product revenue is recognized. The Company’s standard warranty obligation to its end-users generally provides a 12-month warranty coverage on all of its products except in the European Union where the Company provides a 24-month warranty. The Company also offers extended warranty programs for a fee. The Company’s estimate of costs to service its warranty obligations is based on its historical experience of repair and replacement of the associated products and expectations of future conditions. The warranty obligation is affected by product failure rates and the related use of materials, labor costs and freight incurred in correcting any product failure.  
Debt, Policy Convertible Senior Notes. In April 2017, the Company issued $175.0 million aggregate principal amount of 3.50% Convertible Senior Notes due April 15, 2022 (2022 Notes). In November 2020, the Company issued $143.8 million aggregate principal amount of 1.25% Convertible Senior Notes due November 15, 2025 (2025 Notes). Concurrently with the issuance of the 2025 Notes, the Company used a portion of the net proceeds to repurchase part of the 2022 Notes. The Company repaid the remaining principal amount of $125.0 million of the 2022 Notes and $2.2 million in interest on the 2022 Notes at maturity on April 15, 2022. See Note 4 Financing arrangements for additional details. The Company accounts for its 2022 Notes and 2025 Notes in accordance with ASC 470-20, Debt with Conversion and Other Options. The Company’s 2022 Notes and 2025 Notes have a net settlement feature and may be settled wholly or partially in cash upon conversion. Therefore, the Company calculates the potential dilutive effect of its 2022 Notes and 2025 Notes under the if-converted method. The Company classifies its 2022 Notes and 2025 Notes as debt. Debt issuance costs are also classified as debt and amortized as interest expense.  
Revenue recognition
Revenue recognition. The Company derives substantially all of its revenue from the sale of cameras, mounts, accessories, subscription and service, and implied post contract support to customers. The transaction price recognized as revenue represents the consideration the Company expects to be entitled to and is primarily comprised of product revenue, net of returns and variable consideration, which includes sales incentives provided to customers.
The Company’s camera sales contain multiple performance obligations that can include the following four separate obligations: a) a camera hardware component (which may be bundled with hardware accessories) and the embedded firmware essential to the functionality of the camera component delivered at the time of sale, b) a subscription and service, c) the implied right for the customer to receive post contract support after the initial sale (PCS), and d) the implicit right to the Company’s downloadable free apps and software solutions. The Company’s PCS includes the right to receive, on a when and if available basis, future unspecified firmware upgrades and features as well as bug fixes, and email, chat and telephone support.
The Company recognizes revenue from its sales arrangements when control of the promised goods or services are transferred to its customers, in an amount that reflects the amount of consideration expected to be received in exchange for the transferred goods or services. For the sale of hardware products, including related firmware and free software solutions, revenue is recognized when transfer of control occurs at a point in time, which generally is at the time the hardware product is shipped and collection is considered probable. For customers who purchase products directly from GoPro.com, the Company retains a portion of the risk of loss on these sales during transit, which are accounted for as fulfillment costs. For PCS, revenue is recognized ratably over 24 months, which represents the estimated period PCS is expected to be provided based on historical experience.
The Company’s subscription and service revenue is primarily from the sale of the GoPro subscription and Quik subscription sold on GoPro.com and the Quik mobile app, and is recognized ratably over the subscription term, with any payments received in advance of services rendered recorded as deferred revenue. The Company offers the GoPro subscription which offers a range of services, including unlimited cloud storage supporting source video and photo quality, camera replacement and damage protection, access to a high-quality live streaming service on GoPro.com as well as discounts on GoPro gear, mounts and accessories. The Company also offers the Quik subscription that provides access to a suite of simple single-clip and multi-clip editing tools.
For the Company’s camera sale arrangements with multiple performance obligations, revenue is allocated to each performance obligation based on its relative standalone selling price. Standalone selling prices are based on
observable prices at which the Company separately sells its products, subscription and service. If a standalone selling price is not directly observable, then the Company estimates the standalone selling prices considering market conditions and entity-specific factors. For example, the standalone selling price for PCS is determined based on a cost-plus approach, which incorporates the level of support provided to customers, estimated costs to provide such support, and the amount of time and costs that are allocated to efforts to develop the undelivered elements.
The Company’s standard terms and conditions of sale for non-web-based sales do not allow for product returns other than under warranty. However, the Company grants limited rights of return, primarily to certain large retailers. The Company reduces revenue and cost of sales for the estimated returns based on analyses of historical return trends by customer class and other factors. An estimated return liability along with a right to recover assets are recorded for future product returns. Return trends are influenced by product life cycles, new product introductions, market acceptance of products, product sell-through, the type of customer, seasonality and other factors. Return rates may fluctuate over time, but are sufficiently predictable to allow the Company to estimate expected future product returns.
The Company provides sales commissions to internal and external sales representatives which are earned in the period in which revenue is recognized. As a result, the Company expenses sales commissions as incurred.
Deferred revenue as of December 31, 2022 and 2021, includes amounts related to the Company’s subscription and PCS. The Company’s short-term and long-term deferred revenue balances totaled $60.4 million and $48.5 million as of December 31, 2022 and 2021, respectively. During the year ended December 31, 2022, the Company recognized $43.1 million of revenue that was included in the deferred revenue balance as of December 31, 2021. During the year ended December 31, 2021, the Company recognized $27.6 million of revenue that was included in the deferred revenue balance as of December 31, 2020.
 
Revenue Recognition, Incentives Sales incentives. The Company offers sales incentives through various programs, including cooperative advertising, price protection, marketing development funds and other incentives. Sales incentives are considered to be variable consideration, which the Company estimates and records as a reduction to revenue at the date of sale. The Company estimates sales incentives based on historical experience, product sell-through and other factors.  
Shipping and Handling Cost, Policy Shipping costs. Amounts billed to customers for shipping and handling are classified as revenue, and the Company’s related shipping and handling costs incurred are classified as cost of revenue.  
Sales Taxes Sales taxes. Sales taxes collected from customers and remitted to respective governmental authorities are recorded as liabilities and are not included in revenue.  
Advertising Cost Advertising costs. Advertising costs consist of costs associated with print, television and e-commerce media advertisements and are expensed as incurred. The Company incurs promotional expenses resulting from payments under event, resort and athlete sponsorship contracts. These sponsorship arrangements are considered to be executory contracts and, as such, the costs are expensed as performance under the contract is received. The costs associated with the preparation of sponsorship activities, including the supply of GoPro products, media team support, and activation fees are expensed as incurred. Prepayments made under sponsorship agreements are included in prepaid expenses or other long-term assets depending on the period to which the prepayment applies. Advertising costs were $40.8 million, $35.8 million and $34.1 million in 2022, 2021 and 2020, respectively.  
Employee benefit plans Stock-based compensation. Stock-based awards granted to qualified employees, non-employee directors and consultants are measured at fair value and recognized as an expense. The Company primarily issues restricted stock units and accounts for forfeitures as they occur. For service-based awards, stock-based compensation is recognized on a straight-line basis over the requisite service period. For performance and market-based awards which also require a service period, the Company uses graded vesting over the longer of the derived service period or when the performance or market condition is satisfied. 14,830
Foreign Currency Transactions and Translations Policy Foreign currency. The U.S. dollar is the functional currency of the Company’s foreign subsidiaries. The Company remeasures monetary assets or liabilities denominated in currencies other than the U.S. dollar using exchange rates prevailing on the balance sheet date, and non-monetary assets and liabilities at historical rates. Foreign currency remeasurement and transaction gains and losses are included in other income (expense), net and have not been material for any periods presented.  
Income Tax, Policy
Income taxes. The Company utilizes the asset and liability method for computing its income tax provision, under which, deferred tax assets and liabilities are recognized for the expected future consequences of temporary differences between the financial reporting and tax bases of assets and liabilities using enacted tax rates. Management makes estimates, assumptions and judgments to determine the Company’s provision for income taxes, deferred tax assets and liabilities, and any valuation allowance recorded against deferred tax assets. The Company assesses the likelihood that its deferred tax assets will be recovered from future taxable income in each tax jurisdiction and, to the extent the Company believes recovery is not likely, establishes a valuation allowance.
The Company recognizes the tax benefit from an uncertain tax position only if it is more likely than not the tax position will be sustained on examination by the taxing authorities, based on the technical merits of the position. The tax benefits recognized from such positions are then measured based on the largest benefit that has a greater than 50% likelihood of being realized upon settlement. Interest and penalties related to unrecognized tax benefits are recognized within income tax expense.
 
Segment information Segment information. The Company operates as one operating segment as it only reports financial information on an aggregate and consolidated basis to its Chief Executive Officer, who is the Company’s chief operating decision maker.  
v3.22.4
Compensation Related Costs, Share Based Payments (Policies)
12 Months Ended
Dec. 31, 2022
Share-based Payment Arrangement [Abstract]  
Share-based Payment Arrangement
The income tax benefit related to stock-based compensation expense was $8.6 million, $9.0 million and zero for the year ended December 31, 2022, 2021 and 2020, respectively. There was no income tax benefit related to stock-based compensation expense realized in 2020 due to a full valuation allowance on the Company’s United States net deferred tax assets during that year. See Note 8, Income taxes, for additional details.
On December 31, 2022, total unearned stock-based compensation of $53.2 million related to stock options, RSUs, PSUs and ESPP shares is expected to be recognized over a weighted-average period of 1.98 years.
v3.22.4
Summary of business and significant accounting policies (Tables)
12 Months Ended
Dec. 31, 2022
Accounting Policies [Abstract]  
Schedule of recent accounting pronouncements
Recent accounting standards
StandardDescriptionCompany’s date of adoption
Effect on the consolidated financial statements or other significant matters
Standards that were adopted
Debt—Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging—Contracts in Entity’s Own Equity (Subtopic 815-40)
ASU No. 2020-06

This standard simplifies the accounting for certain financial instruments with characteristics of liabilities and equity. ASU 2020-06 (1) simplifies the accounting for convertible debt instruments and convertible preferred stock by removing the existing guidance in ASC 470-20, Debt: Debt with Conversion and Other Options, that requires entities to account for beneficial conversion features and cash conversion features in equity, separately from the host convertible debt or preferred stock, (2) revises the scope exception from derivative accounting in ASC 815-40 for freestanding financial instruments and embedded features that are both indexed to the issuer’s own stock and classified in stockholders’ equity, by removing certain criteria required for equity classification, and (3) revises the guidance in ASC 260, Earnings Per Share, to require entities to calculate diluted earnings per share (EPS) for convertible instruments by using the if-converted method. Companies are allowed to adopt this standard via either a modified retrospective method of transition or a fully retrospective method of transition. Under the modified retrospective method, entities should apply the guidance to transactions outstanding as of the beginning of the fiscal year in which the amendments are adopted. Transactions that were settled (or expired) during prior reporting periods are unaffected. The cumulative effect of the change should be recognized as an adjustment to the opening balance of retained earnings at the date of adoption.
January 1, 2022
The Company adopted ASU 2020-06 using the modified retrospective transition method. As a result, prior period numbers were not restated.

Upon adoption, the Company recorded a net decrease to opening additional paid-in-capital of $78.2 million, with the impact primarily related to the reclassification of Senior Convertible Notes conversion feature’s fair value from additional paid-in-capital to short-term and long-term debt. Additionally, the Company recorded a decrease to opening accumulated deficit of approximately $47.1 million, with the impact related to the reclassification of the previously amortized debt discount and deferred financing costs. After adoption, the Company saw a reduction in its reported interest expense. In addition, the Company recorded a reversal of U.S. deferred tax liabilities (net) of $7.3 million, resulting in an additional corresponding decrease to opening accumulated deficit. The Company adopted the use of the if-converted method for calculating diluted earnings per share for its Senior Convertible Notes, which 1) resulted in an increase in weighted-average diluted shares outstanding, and 2) allowed for the adding back of the after-tax impact of interest charges for the period to the numerator.
Although there are several other new accounting standards issued or proposed by the FASB, which the Company has adopted or will adopt, as applicable, the Company does not believe any of these accounting pronouncements has had or will have a material impact on its consolidated financial statements.
v3.22.4
Fair value measurements (Tables)
12 Months Ended
Dec. 31, 2022
Fair Value Disclosures [Abstract]  
Assets measured at fair value on recurring basis
The Company’s assets that are measured at fair value on a recurring basis within the fair value hierarchy are summarized as follows:
December 31, 2022December 31, 2021
(in thousands)Level 1Level 2TotalLevel 1Level 2Total
Cash equivalents (1):
Money market funds$138,394 $— $138,394 $183,304 $— $183,304 
Total cash equivalents$138,394 $— $138,394 $183,304 $— $183,304 
Marketable securities:
Commercial paper$— $87,436 $87,436 $— $72,323 $72,323 
Corporate debt securities— 29,637 29,637 — 41,108 41,108 
Government securities— 26,529 26,529 — 24,399 24,399 
Total marketable securities$— $143,602 $143,602 $— $137,830 $137,830 
(1)    Included in cash and cash equivalents in the accompanying Consolidated Balance Sheets. Cash balances were $85.3 million and $217.8 million as of December 31, 2022 and 2021, respectively.
v3.22.4
Condensed consolidated financial statement details (Tables)
12 Months Ended
Dec. 31, 2022
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Schedule of Inventory
Inventory
(in thousands)
December 31, 2022December 31, 2021
Components
$38,400 $10,761 
Finished goods
88,731 75,648 
Total inventory
$127,131 $86,409 
Property, Plant and Equipment
Property and equipment, net
(in thousands)
Useful life
(in years)
December 31, 2022December 31, 2021
Leasehold improvements1–9$32,472 $33,764 
Production, engineering and other equipment446,475 45,641 
Tooling1–29,033 13,537 
Computers and software217,258 20,771 
Furniture and office equipment34,879 5,614 
Tradeshow equipment and other2–51,664 1,970 
Construction in progress59 480 
Gross property and equipment
111,840 121,777 
Less: Accumulated depreciation and amortization(98,513)(102,774)
Property and equipment, net
$13,327 $19,003 
Schedule of Other Assets
(in thousands)
December 31, 2022December 31, 2021
Long-term deferred tax assets
$279,045 $274,430 
Deposits and other
8,435 8,238 
Point of purchase (POP) displays
1,798 2,509 
Intangible assets, net15 62 
Other long-term assets$289,293 $285,239 
Intangible assets are comprised of purchased technology, which have a useful life between 20-72 months, and an indefinite life asset. Amortization expense was $0.1 million, $1.2 million and $4.6 million in 2022, 2021 and 2020 respectively. As of December 31, 2022, all of the Company’s purchased technology intangible assets were fully amortized.
Amortization expense for POP displays was $2.1 million, $2.8 million and $4.2 million in 2022, 2021 and 2020, respectively.
Schedule of Accrued Liabilities
Accrued expenses and other current liabilities
(in thousands)
December 31, 2022December 31, 2021
Accrued sales incentives$41,662 $34,117 
Accrued liabilities(1)
35,853 34,989 
Employee related liabilities11,261 19,024 
Warranty liability7,825 8,268 
Return liability6,002 9,263 
Customer deposits
3,428 2,760 
Purchase order commitments
782 1,369 
Inventory received
233 7,169 
Other
11,831 11,613 
Accrued expenses and other current liabilities$118,877 $128,572 
Schedule of Product Warranty Liability
Product warranty
Year ended December 31,
(in thousands)
202220212020
Beginning balance
$8,842 $8,523 $11,398 
Charged to cost of revenue
18,573 16,641 12,690 
Settlement of warranty claims
(19,096)(16,322)(15,565)
Warranty liability
$8,319 $8,842 $8,523 
At December 31, 2022 and 2021, $7.8 million and $8.3 million, respectively, of the warranty liability was recorded as a component of accrued expenses and other current liabilities, and $0.5 million and $0.6 million, respectively, was recorded as a component of other long-term liabilities.
v3.22.4
Employee benefit plans (Tables)
12 Months Ended
Dec. 31, 2022
Share-based Payment Arrangement [Abstract]  
schedule of share-based compensation, Performance Stock Units Award Activity [Table Text Block]
A summary of the Company’s PSU activity is as follows:
Shares
(in thousands)
Weighted-average grant date fair value
Non-vested shares at December 31, 20211,134 

$6.68 
Granted604 8.70 
Vested(744)6.45 
Forfeited(308)8.46 
Non-vested shares at December 31, 2022686 $7.93 
Schedule of Share-based Compensation, Stock Options, Activity
A summary of the Company’s stock option activity is as follows:
Shares
(in thousands)
Weighted-average exercise price
Weighted-average remaining contractual term (in years)
Aggregate intrinsic value (in thousands)
Outstanding at December 31, 20213,080 $9.18 5.92$8,735 
Granted320 8.70 
Exercised(63)4.43 
Forfeited/Cancelled(248)7.40 
Outstanding at December 31, 20223,089 $9.37 5.30$467 
Vested and expected to vest at December 31, 20223,089 $9.37 5.30$467 
Exercisable at December 31, 20222,446 $9.97 4.53$288 
Schedule of Share-based Compensation, Restricted Stock Units Award Activity
A summary of the Company’s RSU activity is as follows:
Shares
(in thousands)
Weighted-average grant date fair value
Non-vested shares at December 31, 20218,714 $6.52 
Granted5,813 7.68 
Vested(4,644)6.64 
Forfeited(1,156)6.86 
Non-vested shares at December 31, 20228,727 $7.19 
Allocation of Stock-based Compensation Expense The following table summarizes stock-based compensation expense included in the Consolidated Statements of Operations:
Year ended December 31,
(in thousands)
202220212020
Cost of revenue
$1,805 $1,794 $1,548 
Research and development
17,221 17,263 13,415 
Sales and marketing
8,173 8,045 5,779 
General and administrative
11,792 11,548 9,221 
Total stock-based compensation expense$38,991 $38,650 $29,963 
Class of Treasury Stock
(in thousands, except per share data)2022
Shares repurchased5,967 
Average price per share$6.64 
Value of shares repurchased$39,618 
v3.22.4
Net loss per share (Tables)
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Schedule of Net Income per Share, Basic and Diluted
The following table presents the calculations of basic and diluted net income (loss) per share:
Year ended December 31,
(in thousands, except per share data)202220212020
Numerator:
Net income (loss) - Basic$28,847 $371,171 $(66,783)
Interest on convertible notes, income tax effected3,055 — — 
Net income (loss) - Diluted$31,902 $371,171 $(66,783)
Denominator:
Weighted-average common shares - basic for Class A and Class B common stock156,181 154,274 149,037 
Effect of dilutive securities22,098 8,904 — 
Weighted-average common shares - diluted for Class A and Class B common stock178,279 163,178 149,037 
Net income (loss) per share
Basic$0.18 $2.41 $(0.45)
Diluted$0.18 $2.27 $(0.45)
Schedule of Antidilutive Securities Excluded from Computation of Net Income per Share
The following potentially dilutive shares were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
Year ended December 31,
(in thousands)
202220212020
Stock-based awards7,495 1,792 15,856 
v3.22.4
Income taxes (Tables)
12 Months Ended
Dec. 31, 2022
Income Tax Disclosure [Abstract]  
Schedule of Components of Income Tax Expense (Benefit)
Income tax expense (benefit) consisted of the following:
Year ended December 31,
(in thousands)
202220212020
Current
Federal$$(128)$(164)
State818 267 84 
Foreign2,076 (7,669)4,956 
Total current2,896 (7,530)4,876 
Deferred
Federal5,039 (205,856)— 
State(2,312)(67,933)— 
Foreign(17)248 (50)
Total deferred2,710 (273,541)(50)
Income tax expense (benefit)$5,606 $(281,071)$4,826 
v3.22.4
Commitments, contingencies and guarantees (Tables)
12 Months Ended
Dec. 31, 2022
Commitments and Contingencies Disclosure [Abstract]  
Components of Lease Expense [Text Block]
The components of net lease cost, which were primarily recorded in operating expenses, were as follows:
Year ended December 31,
(in thousands)202220212020
Operating lease cost (1)
$11,060 $11,566 $14,815 
Sublease income(2,907)(964)(526)
Right-of-use asset impairment cost— — 12,460 
Net lease cost$8,153 $10,602 $26,749 
(1)    Operating lease cost includes variable lease costs, which are immaterial.

Supplemental cash flow information related to leases was as follows:
Year ended December 31,
(in thousands)202220212020
Cash paid for amounts included in the measurement of lease liabilities
Operating cash flows from operating leases$14,595 $14,902 $14,310 
Right-of-use assets obtained in exchange for operating lease liabilities1,221 2,475 1,343 
Operating lease modification to decrease right-of-use assets(232)— (2,251)

Supplemental balance sheet information related to leases was as follows:
December 31, 2022December 31, 2021
Weighted-average remaining lease term (in years) - operating leases3.814.64
Weighted-average discount rate - operating leases6.1%6.0%
Schedule of Maturities of Lease Liabilities [Text Block]
As of December 31, 2022, maturities of operating lease liabilities were as follows:
(in thousands)
December 31, 2022
2023$12,054 
202412,251 
202511,879 
202611,727 
2027973 
Thereafter— 
Total lease payments48,884 
Less: Imputed interest(5,733)
Present value of lease liabilities$43,151 
v3.22.4
Concentrations of risk and geographic information (Tables)
12 Months Ended
Dec. 31, 2022
Concentration Risk [Line Items]  
Schedule of Accounts, Notes, Loans and Financing Receivable
The following table summarizes the Company’s accounts receivables sold, without recourse, and factoring fees paid:
Year ended December 31,
(in thousands)
202220212020
Accounts receivable sold$122,662 $108,636 $99,410 
Factoring fees1,122 426 678 
Schedule of Revenue by Geographic Region
Revenue by geographic region was as follows:
Year ended December 31,2022 vs 20212021 vs 2020
(in thousands)
202220212020
% Change
% Change
Americas
$521,270 $607,534 $483,331 (14)%26 %
Europe, Middle East and Africa (EMEA)300,870 305,654 218,670 (2)40 
Asia and Pacific (APAC)
271,401 247,896 189,924 31 
Total revenue
$1,093,541 $1,161,084 $891,925 (6)%30 %
Accounts Receivable [Member]  
Concentration Risk [Line Items]  
Schedules of Customer Concentration by Risk Factor
Customers who represented 10% or more of the Company’s net accounts receivable balance were as follows:
December 31, 2022December 31, 2021
Customer A30%18%
Customer B11%30%
Sales Revenue [Member]  
Concentration Risk [Line Items]  
Schedules of Customer Concentration by Risk Factor
Third-party customers who represented 10% or more of the Company’s total revenue were as follows:
Year ended December 31,
202220212020
Customer A*11%10%
* Less than 10% of total revenue for the period indicated.
v3.22.4
Summary of business and significant accounting policies (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Jan. 01, 2022
Nov. 24, 2020
Apr. 12, 2017
Property, Plant and Equipment [Line Items]            
Allowance for Doubtful Other Receivables, Current $ 400 $ 700        
Operating Lease, Impairment Loss 0 0 $ 12,460      
Contract with Customer, Liability 60,400 48,500        
Deferred Revenue, Revenue Recognized 43,100 27,600        
Advertising Expense 40,800 35,800 $ 34,100      
Accumulated deficit $ (196,113) $ (279,345)   $ 47,100    
Product Warranty Liability [Line Items]            
Warranty Period 12 months          
Convertible Senior Notes due 2022 [Member]            
Property, Plant and Equipment [Line Items]            
Interest rate           3.50%
Debt Instrument           $ 175,000
Convertible Senior Notes due 2025 [Member]            
Property, Plant and Equipment [Line Items]            
Interest rate         1.25%  
Debt Instrument         $ 143,800  
Europe [Member]            
Product Warranty Liability [Line Items]            
Warranty Period 24 months          
v3.22.4
Fair value measurements (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Nov. 24, 2020
Apr. 12, 2017
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash $ 85,300 $ 217,800    
Marketable securities 143,602 137,830    
Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 138,394 183,304    
Marketable securities 143,602 137,830    
Fair Value, Recurring [Member] | Money Market Funds [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 138,394 183,304    
Fair Value, Recurring [Member] | Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 138,394 183,304    
Marketable securities 0 0    
Fair Value, Recurring [Member] | Level 1 [Member] | Money Market Funds [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 138,394 183,304    
Fair Value, Recurring [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 0 0    
Marketable securities 143,602 137,830    
Fair Value, Recurring [Member] | Level 2 [Member] | Money Market Funds [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash and Cash Equivalents 0 0    
Convertible Senior Notes due 2022 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Debt Instrument       $ 175,000
Convertible Senior Notes due 2022 [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair value of convertible senior notes   132,400    
Convertible Senior Notes due 2025 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Debt Instrument     $ 143,800  
Convertible Senior Notes due 2025 [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair value of convertible senior notes 130,100 189,000    
Corporate Debt Securities [Member] | Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 29,637 41,108    
Corporate Debt Securities [Member] | Fair Value, Recurring [Member] | Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 0 0    
Corporate Debt Securities [Member] | Fair Value, Recurring [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 29,637 41,108    
Commercial Paper | Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 87,436 72,323    
Commercial Paper | Fair Value, Recurring [Member] | Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 0 0    
Commercial Paper | Fair Value, Recurring [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 87,436 72,323    
US Government Debt Securities [Member] | Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 26,529 24,399    
US Government Debt Securities [Member] | Fair Value, Recurring [Member] | Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities 0 0    
US Government Debt Securities [Member] | Fair Value, Recurring [Member] | Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities $ 26,529 $ 24,399    
v3.22.4
Condensed consolidated financial statement details - Cash, Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Cash and Cash Equivalents [Line Items]    
Cash $ 85,300 $ 217,800
Cash and cash equivalents $ 223,735 $ 401,087
v3.22.4
Condensed consolidated financial statement details - Inventory (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Organization, Consolidation and Presentation of Financial Statements [Abstract]    
Components $ 38,400 $ 10,761
Finished goods 88,731 75,648
Total inventory $ 127,131 $ 86,409
v3.22.4
Condensed consolidated financial statement details - Property and Equipment, Net (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Property, Plant and Equipment [Line Items]      
Gross property and equipment $ 111,840 $ 121,777  
Less: Accumulated depreciation and amortization (98,513) (102,774)  
Property and equipment, net 13,327 19,003  
Depreciation 8,500 9,800 $ 14,500
Leasehold Improvements [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 32,472 33,764  
Production, engineering and other equipment [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 46,475 45,641  
Tooling [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 9,033 13,537  
Computers and software [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 17,258 20,771  
Furniture and office equipment [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 4,879 5,614  
Tradeshow Equipment and other [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment 1,664 1,970  
Construction in Progress [Member]      
Property, Plant and Equipment [Line Items]      
Gross property and equipment $ 59 $ 480  
v3.22.4
Condensed consolidated financial statement details - Intangible Assets and Goodwill (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Finite-Lived Intangible Assets, Net [Abstract]      
Intangible assets, net $ 15 $ 62  
Indefinite-lived Intangible Assets [Roll Forward]      
Amortization of intangible assets 100 1,200 $ 4,600
Goodwill $ 146,459 $ 146,459  
v3.22.4
Condensed consolidated financial statement details - Goodwill (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Organization, Consolidation and Presentation of Financial Statements [Abstract]    
Goodwill $ 146,459 $ 146,459
v3.22.4
Condensed consolidated financial statement details - Other Assets (Details) - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
POP Displays $ 1,798,000 $ 2,509,000  
Deposits and other 8,435,000 8,238,000  
Other long-term assets 289,293,000 285,239,000  
Amortization of intangible assets 100,000 1,200,000 $ 4,600,000
Amortization 2,100,000 2,800,000 4,200,000
Intangible Assets, Net (Excluding Goodwill) 15,000 62,000  
Deferred Income Tax Assets, Net 279,040,000 $ 274,430,000 $ 274,430,000
Deferred Tax Assets, Tax Deferred Expense $ 279,045,000    
v3.22.4
Condensed consolidated financial statement details - Product Warranty (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
Beginning balances $ 8,842 $ 8,523 $ 11,398
Charged to cost of revenue 18,573 16,641 12,690
Settlements of warranty claims (19,096) (16,322) (15,565)
Ending balances 8,319 8,842 $ 8,523
Product Warranty Accrual, Noncurrent 500 600  
Product Warranty Accrual, Current $ 7,825 $ 8,268  
v3.22.4
Condensed consolidated financial statement details - Accrued Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Organization, Consolidation and Presentation of Financial Statements [Abstract]    
Product Warranty Accrual, Current $ 7,825 $ 8,268
Employee related liabilities 11,261 19,024
Accrued sales incentives 41,662 34,117
Other Accounts Payable and Accrued Liabilities 35,853 34,989
Customer Refund Liability, Current 6,002 9,263
Customer deposits 3,428 2,760
Purchase Commitment, Remaining Minimum Amount Committed 782 1,369
Inventory received 233 7,169
Other 11,831 11,613
Accrued expenses and other current liabilities $ 118,877 $ 128,572
v3.22.4
Financing Arrangements (Details)
$ / shares in Units, shares in Thousands
3 Months Ended 12 Months Ended
Jan. 21, 2021
USD ($)
Nov. 24, 2020
USD ($)
$ / shares
Apr. 12, 2017
USD ($)
$ / shares
shares
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
Jan. 01, 2022
USD ($)
Apr. 01, 2021
shares
Jan. 22, 2021
USD ($)
Oct. 22, 2020
shares
Line of Credit Facility [Line Items]                        
Long-term debt       $ 141,017,000 $ 111,289,000 $ 141,017,000 $ 111,289,000          
Amortization of Debt Discount (Premium)           0 $ 14,208,000 $ 10,366,000        
Payments for Repurchase of Equity, Prepaid Forward     $ 78,000,000                  
Treasury Shares Acquired, Estimated, Prepaid Forward | shares         9,200   9,200          
Operating Lease, Impairment Loss           0 $ 0 12,460,000        
Own-share Lending Arrangement, Shares, Issued | shares     9,200                  
SharesPurchasedUnderPrepaidForward | shares                   400   8,800
Proceeds from Issuance of Debt           $ 0 0 143,750,000        
Debt Instrument, Covenant Compliance, Asset Coverage Ratio       1.50   1.50            
Adjustments to Additional Paid in Capital, Capped Call Option, Issuance Costs   $ (10,200,000)           (10,249,000)        
Option Indexed To Issuers Equity, cap price   12.0925                    
Payments to repurchase convertible debt   50,000,000                    
Interest Paid, Including Capitalized Interest, Operating and Investing Activities   200,000       $ 4,258,000 6,127,000 6,717,000        
Gain (Loss) on Extinguishment of Debt           0 0 (5,389,000)        
Letters of Credit Outstanding, Amount       $ 5.2   5.2            
Debt Instrument, Periodic Payment, Interest           2,200,000            
Convertible Senior Notes due 2022 [Member]                        
Line of Credit Facility [Line Items]                        
Debt Instrument, Unamortized Discount       0   0            
Convertible Debt Principal Amount Conversion       $ 0 $ 125,000,000 0 125,000,000          
Amortization of Debt Issuance Costs           200,000            
Amortization of Debt Discount (Premium)           0            
Repayments of Debt           125,000,000            
Convertible Senior Notes due 2025 [Member] | Private Placement [Member]                        
Line of Credit Facility [Line Items]                        
Debt Instrument   $ 125,000,000                    
2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Credit agreement, current borrowing capacity                     $ 50,000,000  
Minimum Fixed Charge Coverage Ratio, minimum balance $ 10,000,000                      
Line of Credit Facility, Unused Capacity, Minimum Liquidity Requirement, Amount 55,000,000                      
Line of Credit Facility, Unused Capacity, Qualified Cash $ 40,000,000                      
Convertible Senior Notes due 2022 [Member]                        
Line of Credit Facility [Line Items]                        
Debt Instrument     $ 175,000,000                  
Long-term Debt, Percentage Bearing Fixed Interest, Amount     $ 128,300,000           $ 2,300,000      
Debt Instrument, Unamortized Discount         2,400,000   2,400,000          
Interest rate     3.50%                  
Debt Instrument, Convertible, Conversion Ratio     94.0071                  
Convertible Debt Principal Amount Conversion     $ 1,000                  
Debt Instrument, Convertible, Conversion Price | $ / shares     $ 10.64                  
Convertible debt, equity portion     $ 46,700,000                  
Effective rate   2.40% 10.50%                  
Debt Issuance Costs, Net     $ 5,700,000                  
Percentage of conversion price of notes       130.00%                
Percentage of trading price of notes       98.00%                
Long-term debt       $ 0 122,400,000 0 122,400,000          
Interest Expense, Debt           1,300,000 4,400,000 5,900,000        
Amortization of Debt Issuance Costs             600,000 800,000        
Amortization of Debt Discount (Premium)             7,800,000 9,600,000        
Gain (Loss) on Extinguishment of Debt   $ 5,400,000                    
Debt Instrument, Repurchase Amount   56,200,000                    
Debt Instrument, Repurchased Face Amount   45,200,000                    
Convertible Senior Notes due 2022 [Member] | Long-term Debt [Member]                        
Line of Credit Facility [Line Items]                        
Debt Issuance Costs, Gross     4,200,000                  
Debt Issuance Costs, Net       0 200,000 0 200,000          
proceedsfromconvertibledebtamountallocatedtodebtcomponent   50,600,000                    
Convertible Senior Notes due 2022 [Member] | Additional Paid-in Capital [Member]                        
Line of Credit Facility [Line Items]                        
Debt Issuance Costs, Gross     $ 1,500,000                  
proceedsfromconvertibledebtamountallocatedtoequitycomponent   5,400,000                    
Convertible Senior Notes due 2025 [Member]                        
Line of Credit Facility [Line Items]                        
Debt Instrument   143,800,000                    
Long-term Debt, Percentage Bearing Fixed Interest, Amount   $ 106,900,000             $ 28,800,000      
Debt Instrument, Unamortized Discount       0 29,800,000 0 29,800,000          
Interest rate   1.25%                    
Debt Instrument, Convertible, Conversion Ratio   107.1984                    
Convertible Debt Principal Amount Conversion   $ 1,000   $ 143,800,000 143,800,000 143,800,000 143,800,000          
Debt Instrument, Convertible, Conversion Price | $ / shares   $ 9.3285                    
Convertible debt, equity portion   $ 36,900,000                    
Effective rate   7.50%                    
Debt Issuance Costs, Net   $ 4,700,000                    
Percentage of conversion price of notes       130.00%                
Percentage of trading price of notes       98.00%                
Long-term debt       $ 141,000,000 111,300,000 141,000,000 111,300,000          
Interest Expense, Debt           1,800,000 1,800,000 200,000        
Amortization of Debt Issuance Costs           1,000,000 700,000 100,000        
Amortization of Debt Discount (Premium)           0 6,400,000 $ 800,000        
Convertible Senior Notes due 2025 [Member] | Long-term Debt [Member]                        
Line of Credit Facility [Line Items]                        
Debt Issuance Costs, Gross   3,500,000                    
Debt Issuance Costs, Net       $ 3,000,000 $ 2,700,000 $ 3,000,000 $ 2,700,000          
Convertible Senior Notes due 2025 [Member] | Additional Paid-in Capital [Member]                        
Line of Credit Facility [Line Items]                        
Debt Issuance Costs, Gross   1,200,000                    
Convertible Senior Notes due 2025 [Member] | Over-Allotment Option [Member]                        
Line of Credit Facility [Line Items]                        
Debt Instrument   $ 18,800,000                    
Minimum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Unused Capacity, Commitment Fee Percentage 0.375%                      
Maximum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Unused Capacity, Commitment Fee Percentage 0.50%                      
London Interbank Offered Rate (LIBOR) [Member] | Minimum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Basis Spread on Variable Rate 1.50%                      
London Interbank Offered Rate (LIBOR) [Member] | Maximum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Basis Spread on Variable Rate 2.00%                      
Base Rate [Member] | Minimum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Basis Spread on Variable Rate 0.50%                      
Base Rate [Member] | Maximum [Member] | 2021 Credit Facility [Member]                        
Line of Credit Facility [Line Items]                        
Basis Spread on Variable Rate 1.00%                      
v3.22.4
Stockholders' equity (Details)
12 Months Ended
Dec. 31, 2022
USD ($)
shares
$ / shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Class of Stock [Line Items]        
Stock options outstanding (shares) 3,089,000 3,080,000    
Common stock available for future grants (shares) 51,603,000      
Stockholders' Equity Note, Outstanding Shares Less than 10% of Aggregate Shares Outstanding, Conversion Ratio 1      
Stockholders' Equity Attributable to Parent | $ $ 611,559,000 $ 615,914,000 $ 216,018,000 $ 233,529,000
Stock Repurchase Program, Authorized Amount | $ 100      
Stock Repurchase Program, Remaining Authorized Repurchase Amount | $ $ 60,400,000      
Treasury Stock, Shares, Acquired 5,967      
Treasury Stock Acquired, Average Cost Per Share | $ / shares $ 6.64      
Stock Repurchased During Period, Value | $ $ 39,619,000      
Treasury Stock, Value, Acquired, Cost Method | $ 39,618,000      
Treasury Stock [Member]        
Class of Stock [Line Items]        
Stockholders' Equity Attributable to Parent | $ $ (153,231,000) $ (113,613,000) $ (113,613,000) $ (113,613,000)
Common Class A [Member]        
Class of Stock [Line Items]        
Common stock authorized (shares) 500,000,000 500,000,000    
Common stock outstanding (shares) 128,629,000 129,815,000    
Common Stock, Voting Rights, Number 1      
Common Stock, Conversion Ratio 1      
Common Stock, Shares, Issued 128,629,000 129,815,000    
Common Stock, Voting Rights one      
Common Class B [Member]        
Class of Stock [Line Items]        
Common stock authorized (shares) 150,000,000 150,000,000    
Common stock outstanding (shares) 26,259,000 26,659,000    
Common Stock, Voting Rights, Number 10      
Common Stock, Shares, Issued 26,259,000 26,659,000    
Common Stock, Voting Rights ten      
Restricted Stock Units (RSUs) [Member]        
Class of Stock [Line Items]        
Restricted stock units outstanding (shares) 8,727,000 8,714,000    
Performance Shares [Member]        
Class of Stock [Line Items]        
Restricted stock units outstanding (shares) 686,000 1,134,000    
Performance stock units outstanding (shares) 942,000      
Common Stock        
Class of Stock [Line Items]        
Common stock available for future grants (shares) 38,845,000      
v3.22.4
Employee benefit plans - Narrative (Details) - USD ($)
3 Months Ended 12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
ESPP stock issued during period (shares)     700,000 800,000 1,000,000
ESPP weighted average purchase price of shares purchased (usd per share)     $ 6.72 $ 5.28 $ 3.42
Unearned stock-based compensation, expected recognition period     1 year 11 months 23 days    
Share-based Payment Arrangement, Expense, Tax Benefit $ 8,600,000 $ 9,000,000 $ 0    
Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay     4.00%    
Defined Contribution Plan, Employer Matching Contribution, Percent of Match     100.00%    
Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent     100.00%    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value     $ 1,500,000 $ 1,500,000 $ 1,700,000
Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent     100.00%    
Defined Benefit Plan, Plan Assets, Contributions by Employer     $ 800,000 $ 800,000 $ 1,400,000
Stock Repurchased During Period, Shares     5,967,000    
Treasury Stock Acquired, Average Cost Per Share     $ 6.64    
Stock Repurchased During Period, Value     $ 39,619,000    
RSUs [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares granted (shares)     5,813,000    
Weighted average price of shares granted (usd per share)     $ 7.68 $ 8.83 $ 4.59
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value     $ 30,800,000 $ 28,500,000 $ 23,900,000
Performance Shares [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares granted (shares)     604,000    
Weighted average price of shares granted (usd per share)     $ 8.70    
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value     $ 4,800,000 3,000,000 1,900,000
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value     $ 8.70 $ 7.93 $ 4.05
Employee Stock Purchase Plan Shares [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Purchase Price of Common Stock, Percent     85.00%    
Stock Options, ESPP and Restricted Stock Units (RSUs) [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unearned stock-based compensation costs $ 53,200,000   $ 53,200,000    
2014 Equity Incentive Plans [Member] | Stock Options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Expiration Period     10 years    
2014 Equity Incentive Plans [Member] | Performance Shares [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award Vesting Period     3 years    
2014 Equity Incentive Plans [Member] | Minimum [Member] | Stock Options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award Vesting Period     1 year    
2014 Equity Incentive Plans [Member] | Minimum [Member] | RSUs [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award Vesting Period     2 years    
2014 Equity Incentive Plans [Member] | Maximum [Member] | Stock Options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award Vesting Period     4 years    
2014 Equity Incentive Plans [Member] | Maximum [Member] | RSUs [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award Vesting Period     4 years    
v3.22.4
Employee benefit plans - Stock Option Activity (Details) - USD ($)
$ / shares in Units, shares in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Shares (in thousands)        
Outstanding at beginning of period (shares)   3,080    
Granted (shares)   320    
Exercised (shares)   (63)    
Forfeited/Cancelled (shares)   (248)    
Outstanding at end of period (shares) 3,080 3,089 3,080  
Weighted-average exercise price        
Outstanding at beginning of period (in dollars per share)   $ 9.18    
Granted (usd per share)   8.70    
Exercised (usd per share)   4.43    
Outstanding at end of period (in dollars per share) $ 9.18 $ 9.37 $ 9.18  
Aggregate intrinsic value (in thousands) $ 8,735,000 $ 467 $ 8,735,000  
Vested and Expected to Vest (shares)   3,089    
Vested and Expected to Vest - Weighted Average Exercise Price (in dollars per share)   $ 9.37    
Vested and Expected to Vest- Weighted Average Remaining Contractual Term   5 years 3 months 18 days    
Vested and Expected to Vest - Aggregate Intrinsic Value   $ 467    
Exercisable (shares)   2,446    
Exercisable - Weighted average exercise price (in dollars per share)   $ 9.97    
Exercisable - Weighted Average Remaining Contractual Term   4 years 6 months 10 days    
Exercisable - Aggregate intrinsic value   $ 288    
Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price   $ 7.40    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value   $ 5.05 $ 4.62 $ 2.03
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value   $ 1,500,000 $ 1,500,000 $ 1,700,000
Stock Repurchase Program, Remaining Authorized Repurchase Amount   60,400,000    
Stock Repurchase Program, Authorized Amount   $ 100    
Equity, Class of Treasury Stock [Line Items]        
Weighted Average Remaining Contractual Term (in years) 5 years 11 months 1 day 5 years 3 months 18 days    
v3.22.4
Employee benefit plans - Restricted Stock Units Activity (Details) - $ / shares
shares in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
RSUs [Member]      
Shares (in thousands)      
Non-vested shares at beginning of period (shares) 8,714    
Granted (shares) 5,813    
Vested (shares) (4,644)    
Forfeited (shares) (1,156)    
Non-vested shares at end of period (shares) 8,727 8,714  
Weighted-average grant date fair value      
Non-vested shares at beginning of period (in dollars per share) $ 6.52    
Weighted average price of shares granted (usd per share) 7.68 $ 8.83 $ 4.59
Weighted average price of shares vested (usd per share) 6.64    
Weighted average price of shares forfeited (usd per share) 6.86    
Non-vested shares at end of period (in dollars per share) $ 7.19 $ 6.52  
Performance Shares [Member]      
Shares (in thousands)      
Non-vested shares at beginning of period (shares) 1,134    
Granted (shares) 604    
Vested (shares) (744)    
Forfeited (shares) (308)    
Non-vested shares at end of period (shares) 686 1,134  
Weighted-average grant date fair value      
Non-vested shares at beginning of period (in dollars per share) $ 6.68    
Weighted average price of shares granted (usd per share) 8.70    
Weighted average price of shares vested (usd per share) 6.45    
Weighted average price of shares forfeited (usd per share) 8.46    
Non-vested shares at end of period (in dollars per share) $ 7.93 $ 6.68  
v3.22.4
Employee benefit plans - Fair Value Assumptions for Stock Options (Details)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Interest Rate, Minimum 0.70%    
Interest Rate, Maximum 3.10%    
Equity Option [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Volatility Rate, Minimum 60.00%   51.00%
Expected Term 6.10 6.10 6.10
Dividend yield 0.00% 0.00% 0.00%
Interest Rate, Minimum 2.00% 0.70% 0.40%
Interest Rate, Maximum 3.90% 1.10% 1.50%
Share-based Payment Arrangement, Option, Exercise Price Range [Line Items]      
Expected Term 6.10 6.10 6.10
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Expected Term 6.10 6.10 6.10
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate   64.00%  
Volatility Rate, Maximum 62.00%   64.00%
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Volatility Rate, Minimum 60.00%   51.00%
Volatility Rate, Maximum 62.00%   64.00%
Employee Stock Purchase Plan Shares [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Volatility Rate, Minimum 39.00% 64.00% 60.00%
Expected Term 0.5 0.5 0.5
Dividend yield 0.00% 0.00% 0.00%
Interest Rate, Minimum   0.10% 0.10%
Interest Rate, Maximum     1.60%
Share-based Payment Arrangement, Option, Exercise Price Range [Line Items]      
Expected Term 0.5 0.5 0.5
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Expected Term 0.5 0.5 0.5
Volatility Rate, Maximum 55.00% 80.00% 98.00%
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Volatility Rate, Minimum 39.00% 64.00% 60.00%
Volatility Rate, Maximum 55.00% 80.00% 98.00%
v3.22.4
Employee benefit plans - Fair Value Assumptions for Restricted Stock Units and ESPP (Details)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Interest Rate, Minimum 0.70%    
Interest Rate, Maximum 3.10%    
Employee Stock Purchase Plan Shares [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Volatility Rate, Minimum 39.00% 64.00% 60.00%
Dividend yield 0.00% 0.00% 0.00%
Volatility Rate, Maximum 55.00% 80.00% 98.00%
Interest Rate, Minimum   0.10% 0.10%
Interest Rate, Maximum     1.60%
Equity Option [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Volatility Rate, Minimum 60.00%   51.00%
Dividend yield 0.00% 0.00% 0.00%
Volatility Rate, Maximum 62.00%   64.00%
Interest Rate, Minimum 2.00% 0.70% 0.40%
Interest Rate, Maximum 3.90% 1.10% 1.50%
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate   64.00%  
v3.22.4
Employee benefit plans - Allocation of Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]          
Total stock-based compensation expense     $ 38,991 $ 38,650 $ 29,963
Share-based Payment Arrangement, Expense, Tax Benefit $ 8,600 $ 9,000 $ 0    
Unearned stock-based compensation, expected recognition period     1 year 11 months 23 days    
Cost of Revenue [Member]          
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]          
Total stock-based compensation expense     $ 1,805 1,794 1,548
Research and Development [Member]          
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]          
Total stock-based compensation expense     17,221 17,263 13,415
Selling and Marketing Expense [Member]          
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]          
Total stock-based compensation expense     8,173 8,045 5,779
General and Administrative [Member]          
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]          
Total stock-based compensation expense     $ 11,792 $ 11,548 $ 9,221
v3.22.4
Employee benefit plans Performance Stock Units activity (Details) - USD ($)
$ / shares in Units, shares in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Performance Shares [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted stock units outstanding (shares) 686 1,134  
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value $ 7.93 $ 6.68  
Granted (shares) 604    
Weighted average price of shares granted (usd per share) $ 8.70    
Vested (shares) (744)    
Weighted average price of shares vested (usd per share) $ 6.45    
Forfeited (shares) (308)    
Weighted average price of shares forfeited (usd per share) $ 8.46    
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value $ 4,800,000 $ 3,000,000 $ 1,900,000
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value $ 4,800,000 $ 3,000,000 $ 1,900,000
Restricted Stock Units (RSUs) [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted stock units outstanding (shares) 8,727 8,714  
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value $ 7.19 $ 6.52  
Granted (shares) 5,813    
Weighted average price of shares granted (usd per share) $ 7.68 $ 8.83 $ 4.59
Vested (shares) (4,644)    
Weighted average price of shares vested (usd per share) $ 6.64    
Forfeited (shares) (1,156)    
Weighted average price of shares forfeited (usd per share) $ 6.86    
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value $ 30,800,000 $ 28,500,000 $ 23,900,000
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value $ 30,800,000 $ 28,500,000 $ 23,900,000
v3.22.4
Net loss per share Additional Information (Details)
3 Months Ended 12 Months Ended
Nov. 24, 2020
USD ($)
shares
$ / shares
Dec. 31, 2021
shares
Dec. 31, 2022
shares
Dec. 31, 2021
shares
Apr. 12, 2017
USD ($)
$ / shares
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Treasury Shares Acquired, Estimated, Prepaid Forward   9,200,000   9,200,000  
Option Indexed To Issuers Equity, cap price | $ $ 12.0925        
Common Class A [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Common Stock, Voting Rights, Number     1    
Conversion of Stock, Shares Issued     1    
Common Class B [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Common Stock, Voting Rights, Number     10    
Convertible Senior Notes due 2022 [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Debt Instrument | $         $ 175,000,000
Interest rate         3.50%
Debt Instrument, Convertible, Conversion Price | $ / shares         $ 10.64
Convertible Senior Notes due 2025 [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Debt Instrument | $ $ 143,800,000        
Interest rate 1.25%        
Maximum number of shares issuable upon conversion of the notes 20,800,000        
Debt Instrument, Convertible, Conversion Price | $ / shares $ 9.3285        
v3.22.4
Net loss per share - Basic and Diluted Net Income per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Apr. 12, 2017
Earnings Per Share [Abstract]          
Treasury Shares Acquired, Estimated, Prepaid Forward 9,200   9,200    
Numerator:          
Net income (loss)   $ 28,847 $ 371,171 $ (66,783)  
Interest on Convertible Debt, Net of Tax   3,055 0 0  
Net Income (Loss) Attributable to Parent, Diluted   $ 31,902 $ 371,171 $ (66,783)  
Denominator:          
Weighted Average Number of Shares Outstanding, Basic   156,181 154,274 149,037  
Weighted Average Number Diluted Shares Outstanding Adjustment   22,098 8,904 0  
Own-share Lending Arrangement, Shares, Issued         9,200
Treasury Shares Acquired, Estimated, Prepaid Forward 9,200   9,200    
Earnings Per Share, Diluted   $ 0.18 $ 2.27 $ (0.45)  
Weighted Average Number of Shares Outstanding, Diluted   178,279 163,178 149,037  
v3.22.4
Net loss per share - Antidilutive Securities Excluded from Computation of Net Income per Share (Details) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Earnings Per Share [Abstract]      
Antidilutive securities excluded from computation of earnings per share (shares) 7,495 1,792 15,856
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (shares) 7,495 1,792 15,856
v3.22.4
Income taxes - Income Tax Expense (Details) - USD ($)
9 Months Ended 12 Months Ended
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Disclosure [Abstract]        
Income tax (benefit) expense   $ 5,606,000 $ (281,071,000) $ 4,826,000
Effective tax rate (312.00%) 16.30% (312.00%) (7.80%)
Current Federal Tax Expense (Benefit)   $ 2,000 $ (128,000) $ (164,000)
Current State and Local Tax Expense (Benefit)   818,000 267,000 84,000
Current Foreign Tax Expense (Benefit)   2,076,000 (7,669,000) 4,956,000
Current Income Tax Expense (Benefit)   2,896,000 (7,530,000) 4,876,000
Deferred Federal Income Tax Expense (Benefit)   5,039,000 (205,856,000) 0
Deferred State and Local Income Tax Expense (Benefit)   (2,312,000) (67,933,000) 0
Deferred Foreign Income Tax Expense (Benefit)   (17,000) 248,000 (50,000)
Deferred Income Tax Expense (Benefit)   2,710,000 (273,541,000) (50,000)
Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions   459,000 13,122,000 3,929,000
Stock-based compensation   $ (1,192,000) $ (5,345,000) $ 696,000
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent   5.20% 1.90% (0.40%)
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount   $ 1,805,000 $ 1,684,000 $ 227,000
v3.22.4
Income taxes - Narrative (Details) - USD ($)
9 Months Ended 12 Months Ended
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating Loss Carryforwards [Line Items]          
Deferred Tax Assets, Operating Loss Carryforwards, Domestic   $ 441,700,000      
Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions   2,543,000 $ 3,081,000 $ 2,541,000  
Income (Loss) from Continuing Operations before Income Taxes, Domestic   26,215,000 83,419,000 (70,572,000)  
Income tax (benefit) expense   5,606,000 (281,071,000) 4,826,000  
Loss before income taxes   $ 34,453,000 $ 90,100,000 $ (61,957,000)  
Effective tax rate (312.00%) 16.30% (312.00%) (7.80%)  
Current Foreign Tax Expense (Benefit)   $ 2,076,000 $ (7,669,000) $ 4,956,000  
Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions   2,543,000 3,081,000 2,541,000  
Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions   0 3,900,000 1,681,000  
Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions   (459,000) (13,122,000) (3,929,000)  
Unrecognized Tax Benefits   23,414,000 21,330,000 27,471,000 $ 27,178,000
Accruals and reserves   22,001,000 10,514,000    
Total deferred tax assets   284,112,000 280,819,000    
Unrecognized Tax Benefits that Would Impact Effective Tax Rate   9,800,000 7,300,000 15,300,000  
Income (Loss) from Continuing Operations before Income Taxes, Foreign   8,238,000 6,681,000 $ 8,615,000  
Net operating loss carryforwards   118,399,000 158,125,000    
Tax credit carryforwards   91,147,000 85,650,000    
Stock-based compensation   6,034,000 5,551,000    
Allowance for returns   1,818,000 2,504,000    
Intangible assets   3,753,000 4,803,000    
Deferred Tax Assets, Operating Loss Carryforwards, Domestic   441,700,000      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible, Amount of Unrecorded Benefit   2,300,000      
Deferred Tax Assets, Property, Plant and Equipment   1,661,000 1,313,000    
Deferred Tax Liabilities, Other   5,072,000 6,389,000    
Deferred Tax Liabilities, Gross, Total   5,072,000 6,389,000    
Deferred Tax Liabilities, Deferred Expense, Capitalized Research and Development Costs   29,122,000 $ 0    
Domestic Tax Authority [Member]          
Operating Loss Carryforwards [Line Items]          
Tax Credit Carryforward, Amount   51,400,000      
Tax Credit Carryforward, Amount   51,400,000      
california [Domain]          
Operating Loss Carryforwards [Line Items]          
Tax Credit Carryforward, Amount   50,200,000      
Tax Credit Carryforward, Amount   50,200,000      
california [Domain]          
Operating Loss Carryforwards [Line Items]          
Deferred Tax Assets, Operating Loss Carryforwards, State and Local   235,900,000      
Deferred Tax Assets, Operating Loss Carryforwards, State and Local   235,900,000      
States Other than CA [Domain]          
Operating Loss Carryforwards [Line Items]          
Deferred Tax Assets, Operating Loss Carryforwards, State and Local   167,200,000      
Deferred Tax Assets, Operating Loss Carryforwards, State and Local   $ 167,200,000      
v3.22.4
Income taxes - Deferred Tax Assets (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Deferred tax assets:      
Net operating loss carryforwards $ 118,399 $ 158,125  
Tax credit carryforwards 91,147 85,650  
Stock-based compensation 6,034 5,551  
Allowance for returns 1,818 2,504  
Intangible assets 3,753 4,803  
Deferred Tax Assets, Operating lease liabilities 10,177 12,359  
Deferred Tax Assets, Property, Plant and Equipment 1,661 1,313  
Accruals and reserves 22,001 10,514  
Total deferred tax assets 284,112 280,819  
Deferred Tax Liabilities Operating Lease Liability (5,072) (6,389)  
Deferred Tax Liabilities, Gross, Total 5,072 6,389  
Deferred Tax Assets, Net, Total $ 279,040 $ 274,430 $ 274,430
v3.22.4
Income taxes - Reconciliation (Details) - USD ($)
9 Months Ended 12 Months Ended
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Disclosure [Abstract]        
Tax at federal statutory rate   $ 7,234,000 $ 18,921,000 $ (13,011,000)
Tax at federal statutory rate   21.00% 21.00% 21.00%
Change in valuation allowance   $ 0 $ (284,551,000) $ 16,767,000
Change in valuation allowance   0.00% (315.80%) (27.10%)
Impact of foreign operations   $ 1,572,000 $ (8,222,000) $ 5,010,000
Impact of foreign operations   4.60% (9.20%) (8.10%)
Stock-based compensation   $ (1,192,000) $ (5,345,000) $ 696,000
Stock-based compensation   3.50% 5.90% 1.10%
State taxes, net of federal benefits   $ 1,189,000 $ 1,828,000 $ (682,000)
State taxes, net of federal benefits   3.50% 2.00% 1.10%
Effective Income Tax Rate Reconciliation, Tax Credit, Amount   $ 5,222,000 $ 6,091,000 $ 3,538,000
Effective Income Tax Rate Reconciliation, Tax Credit, Percent   15.10% 6.80% (5.70%)
Other   $ 220,000 $ 705,000 $ (643,000)
Other   0.60% 0.80% 1.10%
Income tax (benefit) expense   $ 5,606,000 $ (281,071,000) $ 4,826,000
Effective tax rate (312.00%) 16.30% (312.00%) (7.80%)
v3.22.4
Commitments, contingencies and guarantees (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Long-term Purchase Commitment [Line Items]      
Operating Lease, Cost $ 11,060 $ 11,566 $ 14,815
Operating Lease, Payments 14,595 14,902 14,310
Finance Lease, Liability, to be Paid, Year One 12,054    
Finance Lease, Liability, to be Paid, Year Two 12,251    
Finance Lease, Liability, to be Paid, Year Three 11,879    
Finance Lease, Liability, to be Paid, Year Four 11,727    
Finance Lease, Liability, to be Paid, Year Five 973    
Lessee, Operating Lease, Liability, Payments, Due after Year Five 0    
Lessee, Operating Lease, Liability, Payments, Due (48,884)    
us-gaap_Lessee Operating Lease Liability Undiscounted Excess Amount (5,733)    
Operating Lease, Liability 43,151    
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability 1,221 2,475 1,343
LesseeOperatingLeaseModification $ (232) $ 0 (2,251)
Operating Lease, Weighted Average Remaining Lease Term 3 years 9 months 21 days 4 years 7 months 20 days  
Operating Lease, Weighted Average Discount Rate, Percent 6.10% 6.00%  
Sublease Income $ (2,907) $ (964) (526)
Operating Lease, Impairment Loss 0 0 12,460
Lease, Cost 8,153 $ 10,602 $ 26,749
Other Commitments [Line Items]      
Other Commitment, to be Paid, Year One 52,472    
Other Commitment, to be Paid, Year Two 25,050    
Other Commitment, to be Paid, Year Three 1,433    
Other Commitment, to be Paid, Year Four 0    
Other Commitment, to be Paid, Year Five 0    
Long-Term Debt, Maturity, Year Five 0    
Long-Term Debt, Maturity, Year Four 0    
Long-Term Debt, Maturity, Year Three 145,547    
Long-Term Debt, Maturity, Year Two 1,797    
Long-term Debt, Maturities, Repayments of Principal in Next Rolling Twelve Months 1,797    
Other Commitment 78,955    
Long-term Debt, Gross 149,141    
Contractual Obligation 228,096    
Contractual Obligation, to be Paid, Year One 54,269    
Contractual Obligation, to be Paid, Year Two 26,847    
Contractual Obligation, to be Paid, Year Three 146,980    
Contractual Obligation, to be Paid, Year Four 0    
Contractual Obligation, to be Paid, Year Five $ 0    
v3.22.4
Concentrations of risk and geographic information - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Revenue, Major Customer [Line Items]      
Revenue $ 1,093,541 $ 1,161,084 $ 891,925
United States [Member]      
Revenue, Major Customer [Line Items]      
Revenue 446,000 526,500 $ 428,300
Outside the United States [Member]      
Revenue, Major Customer [Line Items]      
Long-lived assets $ 4,000 $ 6,200  
v3.22.4
Concentrations of risk and geographic information - Schedule of Customer Concentration by Risk Factor (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Concentration Risk [Line Items]        
Accounts receivable sold   $ 122,662 $ 108,636 $ 99,410
Factoring fees   $ 1,122 $ 426 $ 678
Customer Concentration Risk [Member] | Accounts Receivable [Member] | Customer A [Member]        
Concentration Risk [Line Items]        
Concentration risk 18.00% 30.00%    
Customer Concentration Risk [Member] | Accounts Receivable [Member] | Customer B [Member]        
Concentration Risk [Line Items]        
Concentration risk 30.00% 11.00%    
Customer Concentration Risk [Member] | Sales Revenue [Member] | Customer A [Member]        
Concentration Risk [Line Items]        
Concentration risk     11.00% 10.00%
v3.22.4
Concentrations of risk and geographic information - Schedule of Revenue by Geographic Segment (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Segment Reporting Information [Line Items]      
Revenue $ 1,093,541 $ 1,161,084 $ 891,925
United States [Member]      
Segment Reporting Information [Line Items]      
Revenue 446,000 526,500 428,300
Americas [Member]      
Segment Reporting Information [Line Items]      
Revenue 521,270 607,534 483,331
Europe, Middle East and Africa [Member]      
Segment Reporting Information [Line Items]      
Revenue 300,870 305,654 218,670
Asia and Pacific Area Countries [Member]      
Segment Reporting Information [Line Items]      
Revenue $ 271,401 $ 247,896 $ 189,924
v3.22.4
Restructuring charges - Restructuring Costs (Details) - USD ($)
3 Months Ended 12 Months Ended
Jun. 30, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Restructuring Cost and Reserve [Line Items]        
Restructuring and Related Costs  
Restructuring charges for each period were as follows:
Year ended December 31,
(in thousands)
202220212020
Cost of revenue
$8,090 $70 $1,201 
Research and development
244 600 8,062 
Sales and marketing
137 361 10,684 
General and administrative
77 195 5,449 
Total restructuring charges
$8,548 $1,226 $25,396 
   
Restructuring charges   $ 8,548,000 $ 1,226,000 $ 25,396,000
Operating Lease, Impairment Loss   0 0 12,460,000
Cost of Revenue [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges   8,090,000 70,000 1,201,000
Research and Development [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges   244,000 600,000 8,062,000
Selling and Marketing Expense [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges   137,000 361,000 10,684,000
General and Administrative [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges   77,000 195,000 $ 5,449,000
Second quarter 2020 restructuring [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges     31,500,000  
Second quarter 2020 restructuring [Member] | Non-cancelable Leases, Accelerated Depreciation and Other Charges [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges     11,600,000  
Second quarter 2020 restructuring [Member] | Employee Severance [Member]        
Restructuring Cost and Reserve [Line Items]        
Severance Costs $ 7,400,000      
fourth quarter 2022 restructuring        
Restructuring Cost and Reserve [Line Items]        
Restructuring charges   8,100,000    
Restructuring charges   8,061,000    
Restructuring Reserve   7,833,000 0  
Other Restructuring Costs   8,061,000    
Restructuring Reserve, Settled without Cash   (228,000)    
fourth quarter 2022 restructuring | Other Restructuring [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring Reserve   7,833,000 $ 0  
Restructuring Reserve, Settled without Cash   $ (228,000)    
v3.22.4
Restructuring charges - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Apr. 14, 2020
Jun. 30, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Restructuring Cost and Reserve [Line Items]          
Restructuring charges     $ 8,548 $ 1,226 $ 25,396
Operating Lease, Impairment Loss     0 0 $ 12,460
Second quarter 2020 restructuring [Member]          
Restructuring Cost and Reserve [Line Items]          
Expected percent of positions eliminated 20.00%        
Restructuring charges       31,500  
Second quarter 2020 restructuring [Member] | Non-cancelable Leases, Accelerated Depreciation and Other Charges [Member]          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges       11,600  
Second quarter 2020 restructuring [Member] | Employee Severance and Pay Related Costs [Member]          
Restructuring Cost and Reserve [Line Items]          
Severance Costs   $ 7,400      
Second quarter 2020 restructuring right-of-use asset impairment [Member]          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges       $ 12,300  
fourth quarter 2022 restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges     8,100    
Other Restructuring Costs     8,061    
fourth quarter 2022 restructuring contract costs [Member]          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges     7,000    
fourth quarter 2022 restructuring transition costs [Member]          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges     $ 1,100    
v3.22.4
Subsequent Events (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Subsequent Event [Line Items]      
Restructuring charges $ 8,548 $ 1,226 $ 25,396
Sublease Income $ 2,907 $ 964 $ 526
Operating Lease, Weighted Average Discount Rate, Percent 6.10% 6.00%  
v3.22.4
Valuation and Qualifying Accounts (Details) - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Allowance for Doubtful Accounts Receivable [Member]        
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]        
SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount $ 390,000 $ 700,000 $ 492,000 $ 830,000
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]        
Charges to Expense (294,000) 393,000 (24,000)  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Deduction (16,000) (185,000) (314,000)  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount $ 390,000 700,000 492,000  
SEC Schedule, 12-09, Valuation Allowance, Deferred Tax Asset [Member]        
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]        
SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount     287,276,000 $ 277,693,000
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]        
Charges to Expense   (284,551,000) 16,762,000  
Charges to Revenue     7,179,000  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Deduction   $ (2,725,000)    
SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount     $ 287,276,000  
v3.22.4
Label Element Value
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents $ 150,301,000