7Baggers

Stitch Fix, Inc
(NASDAQ:SFIX) 

SFIX stock logo

Stitch Fix, Inc. sells a range of apparel, shoes, and accessories through its Website and mobile application in the United States. It offers denim, dresses, blouses, skirts, shoes, jewelry, and handbags for men, women, and kids under the Stitch Fix brand. The company was formerly known as rack habit...

Founded: 2011
Full Time Employees: 8,000
Founder: Katrina Lake 
CEO: Matt Baer  
Sector: Consumer Cyclical
Industry: Specialty Retail

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2026-05-02 2026-01-31 2025-11-01 2025-08-02 2025-05-03 2025-02-01 2024-11-02 2024-08-03 2024-04-27 2024-01-27 2023-10-28 2023-07-29 2023-04-29 2023-01-28 2022-10-29 2022-07-30 2022-04-30 2022-01-29 2021-10-30 2021-07-31 2021-05-01 2021-01-30 2020-10-31 2020-08-01 2020-05-02 2020-02-01 2019-11-02 2019-08-03 2019-04-27 2019-01-26 2018-10-27 2018-07-28 2018-04-28 2018-01-27 2017-10-28 
                                       
      revenue
    340,277,000 341,297,000 342,127,000 311,227,000 325,016,000 312,110,000 318,818,000 319,550,000 322,731,000 330,402,000 364,785,000 375,798,000 394,914,000 412,118,000 455,593,000 481,903,000 492,941,000 516,724,000 581,244,000 571,159,000 535,589,000 504,087,000 490,423,000 443,408,000 371,726,000 451,784,000 444,815,000 432,149,000 408,893,000 370,280,000 366,236,000 318,295,000 316,741,000 295,906,000 295,563,000 
      yoy
    4.70% 9.35% 7.31% -2.60% 0.71% -5.54% -12.60% -14.97% -18.28% -19.83% -19.93% -22.02% -19.89% -20.24% -21.62% -15.63% -7.96% 2.51% 18.52% 28.81% 44.08% 11.58% 10.25% 2.61% -9.09% 22.01% 21.46% 35.77% 29.09% 25.13% 23.91%     
      qoq
    -0.30% -0.24% 9.93% -4.24% 4.14% -2.10% -0.23% -0.99% -2.32% -9.43% -2.93% -4.84% -4.17% -9.54% -5.46% -2.24% -4.60% -11.10% 1.77% 6.64% 6.25% 2.79% 10.60% 19.28% -17.72% 1.57% 2.93% 5.69% 10.43% 1.10% 15.06% 0.49% 7.04% 0.12%  
      cost of goods sold
    191,439,000 192,352,000 192,803,000 175,512,000 181,458,000 173,249,000 174,013,000 177,073,000 175,753,000 186,922,000 205,682,000 213,058,000 227,011,000 243,001,000 263,832,000 289,240,000 282,851,000 283,920,000 308,327,000 305,707,000 289,199,000 287,744,000 270,972,000 244,298,000 220,115,000 249,597,000 243,513,000 241,785,000 224,445,000 207,131,000 201,068,000 176,877,000 178,535,000 168,523,000 166,548,000 
      gross profit
    148,838,000 148,945,000 149,324,000 135,715,000 143,558,000 138,861,000 144,805,000 142,477,000 146,978,000 143,480,000 159,103,000 162,740,000 167,903,000 169,117,000 191,761,000 192,663,000 210,090,000 232,804,000 272,917,000 265,452,000 246,390,000 216,343,000 219,451,000 199,110,000 151,611,000 202,187,000 201,302,000 190,364,000 184,448,000 163,149,000 165,168,000 141,418,000 138,206,000 127,383,000 129,015,000 
      yoy
    3.68% 7.26% 3.12% -4.75% -2.33% -3.22% -8.99% -12.45% -12.46% -15.16% -17.03% -15.53% -20.08% -27.36% -29.74% -27.42% -14.73% 7.61% 24.36% 33.32% 62.51% 7.00% 9.02% 4.59% -17.80% 23.93% 21.88% 34.61% 33.46% 28.08% 28.02%     
      qoq
    -0.07% -0.25% 10.03% -5.46% 3.38% -4.10% 1.63% -3.06% 2.44% -9.82% -2.23% -3.07% -0.72% -11.81% -0.47% -8.30% -9.76% -14.70% 2.81% 7.74% 13.89% -1.42% 10.22% 31.33% -25.01% 0.44% 5.75% 3.21% 13.05% -1.22% 16.79% 2.32% 8.50% -1.26%  
      gross margin %
    43.74% 43.64% 43.65% 43.61% 44.17% 44.49% 45.42% 44.59% 45.54% 43.43% 43.62% 43.31% 42.52% 41.04% 42.09% 39.98% 42.62% 45.05% 46.95% 46.48% 46.00% 42.92% 44.75% 44.90% 40.79% 44.75% 45.26% 44.05% 45.11% 44.06% 45.10% 44.43% 43.63% 43.05% 43.65% 
      selling, general, and administrative expenses
    152,854,000 153,685,000 157,899,000 146,921,000 153,266,000 147,886,000 153,771,000 184,365,000 171,818,000 181,518,000 187,764,000 193,950,000 192,650,000 235,827,000 246,891,000 291,280,000 286,970,000 263,502,000 274,767,000 244,710,000 270,609,000 256,694,000 238,984,000 213,377,000 197,666,000 193,689,000 201,142,000 188,610,000 189,015,000 147,738,000      
      operating income
    -4,016,000 -4,740,000 -8,575,000 -11,206,000 -9,708,000 -9,025,000 -8,966,000 -41,888,000 -24,840,000 -38,038,000 -28,661,000 -31,210,000 -24,747,000 -66,710,000 -55,130,000 -98,617,000 -76,880,000 -30,698,000 -1,850,000 20,742,000 -24,219,000 -40,351,000 -19,533,000 -14,267,000 -46,055,000 8,498,000 160,000 1,754,000 -4,567,000 15,411,000 10,897,000 8,116,000 9,752,000 15,612,000 9,544,000 
      yoy
    -58.63% -47.48% -4.36% -73.25% -60.92% -76.27% -68.72% 34.21% 0.38% -42.98% -48.01% -68.35% -67.81% 117.31% 2880.00% -575.45% 217.44% -23.92% -90.53% -245.38% -47.41% -574.83% -12308.13% -913.40% 908.43% -44.86% -98.53% -78.39% -146.83% -1.29% 14.18%     
      qoq
    -15.27% -44.72% -23.48% 15.43% 7.57% 0.66% -78.60% 68.63% -34.70% 32.72% -8.17% 26.12% -62.90% 21.00% -44.10% 28.27% 150.44% 1559.35% -108.92% -185.64% -39.98% 106.58% 36.91% -69.02% -641.95% 5211.25% -90.88% -138.41% -129.63% 41.42% 34.27% -16.78% -37.54% 63.58%  
      operating margin %
    -1.18% -1.39% -2.51% -3.60% -2.99% -2.89% -2.81% -13.11% -7.70% -11.51% -7.86% -8.30% -6.27% -16.19% -12.10% -20.46% -15.60% -5.94% -0.32% 3.63% -4.52% -8.00% -3.98% -3.22% -12.39% 1.88% 0.04% 0.41% -1.12% 4.16% 2.98% 2.55% 3.08% 5.28% 3.23% 
      interest income
    2,123,000 2,182,000 2,356,000 2,487,000 2,627,000 2,663,000 2,932,000 3,327,000 3,002,000 2,673,000 2,248,000 2,132,000 2,609,000 706,000 773,000 231,000 194,000 171,000 334,000         -1,759,000 -1,463,000 -1,170,000 -1,399,000     
      other income
    438,000   383,000 -59,000 -79,000 -72,000 651,000 -9,000 578,000 411,000 1,041,000 685,000 652,000  -274,000 -942,000           -571,000 -391,000 -453,000 -120,000 -760,000 -209,000 -18,000 -17,000 
      income before income taxes
    -1,455,000 -2,588,000 -6,304,000 -8,336,000 -7,140,000 -6,441,000 -6,106,000 -37,910,000 -21,847,000 -34,787,000 -26,002,000 -28,037,000 -21,453,000 -65,352,000 -55,641,000 -99,645,000 -77,628,000 -30,572,000 -1,625,000 20,656,000 -23,380,000 -39,816,000 -18,577,000 -13,396,000 -45,252,000 9,947,000 979,000 4,084,000 -2,713,000 17,034,000 12,416,000 8,876,000 9,961,000 17,244,000 18,632,000 
      provision for income taxes
    70,000 66,000 58,000 241,000 241,000 182,000 157,000 -2,169,000 170,000 169,000 169,000 622,000 372,000 219,000 277,000 238,500 412,000 340,000 202,000 -812,000 -4,534,000 -18,777,000 -28,118,000 31,071,000 -11,349,000 -1,484,000 1,157,000 -3,095,000 -9,761,000 5,058,000 1,738,000 -9,408,000 474,000 13,603,000 5,144,000 
      net income from continuing operations
    -1,525,000 -2,654,000 -6,362,000 -8,577,000 -7,381,000 -6,623,000 -6,263,000 -35,741,000 -22,017,000 -34,956,000 -26,171,000                         
      net income from discontinued operations, net of income taxes
       1,000 3,000 94,000 7,000 -2,299,500 689,000                           
      net income
    -1,525,000 -2,654,000 -6,362,000 -8,576,000 -7,378,000 -6,529,000 -6,256,000 -36,498,000 -21,328,000 -35,524,000 -35,490,000 -28,659,000 -21,825,000 -65,571,000 -55,918,000 -96,342,000 -78,040,000 -30,912,000 -1,827,000 21,468,000 -18,846,000 -21,039,000 9,541,000 -44,467,000 -33,903,000 11,431,000 -178,000 7,179,000 7,048,000 11,976,000 10,678,000     
      yoy
    -79.33% -59.35% 1.69% -76.50% -65.41% -81.62% -82.37% 27.35% -2.28% -45.82% -36.53% -70.25% -72.03% 112.12% 2960.65% -548.77% 314.09% 46.93% -119.15% -148.28% -44.41% -284.05% -5460.11% -719.40% -581.03% -4.55% -101.67%         
      qoq
    -42.54% -58.28% -25.82% 16.24% 13.00% 4.36% -82.86% 71.13% -39.96% 0.10% 23.84% 31.31% -66.72% 17.26% -41.96% 23.45% 152.46% 1591.95% -108.51% -213.91% -10.42% -320.51% -121.46% 31.16% -396.59% -6521.91% -102.48% 1.86% -41.15% 12.16%      
      net income margin %
    -0.45% -0.78% -1.86% -2.76% -2.27% -2.09% -1.96% -11.42% -6.61% -10.75% -9.73% -7.63% -5.53% -15.91% -12.27% -19.99% -15.83% -5.98% -0.31% 3.76% -3.52% -4.17% 1.95% -10.03% -9.12% 2.53% -0.04% 1.66% 1.72% 3.23% 2.92% 0% 0% 0% 0% 
      other comprehensive loss:
                                       
      change in unrealized gains and losses on available-for-sale securities, net of tax
    -290,000 -13,000 109,000 9,000 -91,000 -57,000 40,000                             
      total other comprehensive loss, net of tax
    -290,000          -1,008,000    -1,798,000                -56,000     
      comprehensive loss
    -1,815,000 -2,667,000 -6,253,000 -8,567,000 -7,469,000 -6,586,000 -6,216,000 -36,335,000 -21,394,000 -35,475,000 -36,498,000 -27,500,000 -20,574,000 -62,129,000 -57,716,000 -97,193,000 -81,707,000 -32,414,000                  
      loss per share from continuing operations attributable to common stockholders:
                                       
      basic
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      diluted
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      earnings per share from discontinued operations attributable to common stockholders:
                                       
      basic
                      -0.02 0.21 -0.18 -0.2 0.09 -0.44 -0.33 0.11  0.07 0.07 0.12 0.11 0.19 0.1 0.04 0.15 
      diluted
                      -0.02 0.21 -0.18 -0.2 0.09 -0.44 -0.33 0.11  0.07 0.07 0.12 0.1 0.19 0.09 0.02 0.04 
      loss per share attributable to common stockholders:
                                       
      weighted-average shares used for eps calculation
                                       
      basic
    135,334,302 135,354,835 133,345,590 128,784,547 129,792,798 127,984,475 125,972,658 120,214,198 121,268,047 119,045,026 116,645,160 114,684,980 115,445,285 113,928,081 112,359,901 108,762,589 108,759,202 109,178,086 108,375,911 105,975,403 106,696,220 105,544,515 104,134,850 102,383,282 102,650,155 102,045,087 101,557,546 100,013,462 100,301,078 99,590,187 98,965,274 75,947,759 97,055,573 82,439,351  
      diluted
    135,334,302 135,354,835 133,345,590 128,784,547 129,792,798 127,984,475 125,972,658 120,214,198 121,268,047 119,045,026 116,645,160 114,684,980 115,445,285 113,928,081 112,359,901 108,762,589 108,759,202 109,178,086 108,375,911 105,975,403 106,696,220 105,544,515 109,477,354 102,383,282 102,650,155 104,637,548 101,557,546 103,653,626 103,615,159 102,817,838 104,539,452 81,288,418 101,847,521 87,954,656  
      other expense
     -30,000 -85,000            -1,284,000   -45,000 -109,000 449,000 -395,000 107,000 205,000 162,000 569,000 28,000 834,000         
      other comprehensive income:
                                       
      total other comprehensive income, net of tax
     -13,000 109,000 9,000 -91,000 -57,000 40,000 163,000 -66,000 49,000  1,159,000 1,251,000 3,442,000  -851,000 -3,667,000 -1,502,000 -918,000 135,000 8,000 1,541,000 -1,001,000 1,213,000 -779,000 898,000 1,583,000 -278,000 -50,000 197,000      
      foreign currency translation
              -1,129,000 908,000 519,000 2,501,000 -1,612,000 -1,053,000 -2,384,000 -848,000 -603,000 288,000 307,000 1,929,000 -338,000 1,460,000 -1,773,000 651,000 1,755,000 -507,000 -190,000 93,000 26,000     
      loss per share from continuing operations, attributable to common stockholders:
                                       
      basic
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      diluted
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      loss per share from discontinued operations, attributable to common stockholders:
                                       
      change in unrealized loss on available-for-sale securities, net of tax
           163,000 -66,000 49,000 121,000    -186,000                -82,000     
      income per share from discontinued operations, attributable to common stockholders:
                                       
      basic
           -0.02 0.01                           
      diluted
           -0.02 0.01                           
      net loss from discontinued operations, net of income taxes
             -568,000                          
      loss from discontinued operations, net of income taxes
              -9,319,000                         
      change in unrealized gain on available-for-sale securities, net of tax
               251,000 732,000 941,000  202,000 -1,283,000 -654,000 -315,000 -153,000 -299,000 -388,000 -663,000 -247,000 994,000 247,000 -172,000 229,000 140,000 104,000      
      net loss attributable to common stockholders:
                                       
      basic
               -28,659,000 -21,825,000 -65,571,000 -55,918,000 -96,342,000 -78,040,000 -30,912,000                  
      diluted
               -28,659,000 -21,825,000 -65,571,000 -55,918,000 -96,342,000 -78,040,000 -30,912,000                  
      loss per share attributable to common stockholders:
                                       
      basic
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      diluted
    -0.01 -0.02 -0.05 -0.06 -0.06 -0.05 -0.05 -0.29 -0.18 -0.29 -0.22 -0.24 -0.19 -0.58 -0.5 -0.88 -0.72 -0.28                  
      comprehensive income
                      -2,745,000 21,603,000 -18,838,000 -19,498,000 8,540,000 -43,254,000 -34,682,000 12,329,000 1,405,000 6,901,000 6,998,000 12,173,000 10,622,000     
      net income attributable to common stockholders:
                                       
      basic
                      -1,827,000 21,468,000 -18,846,000 -21,039,000 9,541,000 -44,467,000 -33,903,000 11,431,000 -178,000 7,182,000 7,048,000 11,968,000 10,664,000    3,915,000 
      diluted
                      -1,827,000 21,468,000 -18,846,000 -21,039,000 9,541,000 -44,467,000 -33,903,000 11,431,000 -178,000 7,182,000 7,048,000 11,968,000 10,665,000    1,347,000 
      earnings per share attributable to common stockholders:
                                       
      basic
                      -0.02 0.21 -0.18 -0.2 0.09 -0.44 -0.33 0.11  0.07 0.07 0.12 0.11 0.19 0.1 0.04 0.15 
      diluted
                      -0.02 0.21 -0.18 -0.2 0.09 -0.44 -0.33 0.11  0.07 0.07 0.12 0.1 0.19 0.09 0.02 0.04 
      interest expense
                       -363,000 -444,000 -642,000 -1,161,000 -1,033,000 -1,372,000 -1,477,000 -1,653,000         
      remeasurement of preferred stock warrant liability
                                     -1,614,000 -9,071,000 
      selling, general and administrative expenses
                                  154,271,000 133,302,000 128,454,000 111,771,000 119,471,000 
      net income and comprehensive income
                                   18,284,000 9,487,000 3,641,000 13,488,000 
      shares used to compute earnings per share attributable to common stockholders:
                                       
      basic
                                      26,329,495 
      diluted
                                      33,262,082 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-05-02 2026-01-31 2025-11-01 2025-08-02 2025-05-03 2025-02-01 2024-11-02 2024-08-03 2024-04-27 2024-01-27 2023-10-28 2023-07-29 2023-04-29 2023-01-28 2022-10-29 2022-07-30 2022-04-30 2022-01-29 2021-10-30 2021-07-31 2021-05-01 2021-01-30 2020-10-31 2020-08-01 2020-05-02 2020-02-01 2019-11-02 2019-08-03 2019-04-27 2019-01-26 2018-10-27 2018-07-28 2018-04-28 2018-01-27 2017-10-28 
                                         
        assets
                                         
        current assets:
                                         
        cash and cash equivalents
      87,336,000 118,782,000 114,494,000 113,952,000 108,915,000 113,205,000 137,153,000 162,862,000 196,507,000 227,503,000 256,898,000 239,437,000 193,575,000 138,979,000 113,346,000 130,935,000 137,721,000 193,878,000 249,677,000 129,785,000 124,737,000 140,031,000 200,346,000 143,455,000 96,840,000 165,989,000 151,779,000 170,932,000 143,829,000 167,496,000  297,516,000    
        short-term investments
      99,478,000 108,925,000 129,666,000 120,901,000 125,305,000 105,898,000 116,119,000 84,106,000 47,998,000 2,321,000 5,440,000 18,161,000 50,139,000 82,620,000 90,041,000 82,049,000 97,029,000 73,052,000 62,438,000 101,546,000 98,189,000 166,957,000 187,979,000 143,037,000 144,744,000 134,592,000 145,504,000 143,276,000 147,779,000 109,363,000 84,985,000     
        inventory
      132,212,000 122,132,000 141,503,000 118,370,000 114,410,000 109,591,000 119,145,000 97,903,000 114,467,000 126,033,000 160,720,000 137,176,000 151,612,000 158,927,000 220,163,000 197,251,000 213,004,000 183,458,000 184,129,000 212,294,000 215,628,000 182,422,000 156,786,000 124,816,000 165,077,000 147,236,000 148,502,000 118,216,000 110,100,000 103,167,000 106,701,000 85,092,000 82,222,000 80,094,000 87,576,000 
        prepaid expenses and other current assets
      56,718,000 54,295,000 49,688,000 20,649,000 24,646,000 24,065,000 20,099,000 21,839,000 25,446,000 21,161,000 24,789,000 30,014,000 33,406,000 32,979,000 42,095,000 39,456,000 58,504,000 53,440,000 48,902,000 50,512,000 56,862,000 49,911,000 52,322,000 55,002,000 51,810,000 38,513,000 39,702,000 49,980,000 40,639,000 33,160,000 33,036,000 34,148,000 17,244,000 11,653,000 16,584,000 
        total current assets
      375,744,000 404,134,000 435,351,000 373,872,000 373,276,000 352,904,000 392,516,000 366,710,000 385,282,000 377,971,000 450,285,000 425,461,000 455,744,000 414,426,000 466,566,000 477,252,000 533,819,000 531,452,000 572,770,000 521,804,000 495,416,000 539,321,000 597,433,000 466,310,000 458,471,000 486,330,000 485,487,000 482,404,000 442,597,000 413,436,000 398,313,000 417,006,000 386,723,000 358,121,000 235,506,000 
        long-term investments
      42,586,000 12,812,000  7,894,000 7,881,000 10,734,000        2,288,000 5,379,000 17,713,000 48,019,000 82,182,000 88,420,000 59,035,000 79,621,000 62,395,000 41,592,000 95,097,000 86,919,000 96,657,000 90,532,000 53,372,000 62,919,000 66,734,000 83,870,000     
        property and equipment
      41,348,000 41,488,000 43,063,000 43,199,000 44,857,000 46,843,000 49,204,000 51,517,000 57,636,000 63,522,000 71,490,000 79,757,000 86,557,000 92,434,000 99,847,000 103,375,000 104,923,000 104,557,000 98,975,000 86,959,000 80,800,000 73,576,000 71,275,000 70,369,000 64,597,000 63,158,000 65,369,000 54,888,000 52,715,000 44,888,000 37,629,000 34,169,000 32,374,000 30,875,000 29,545,000 
        operating lease right-of-use assets
      42,085,000 45,000,000 48,125,000 51,201,000 54,230,000 57,404,000 60,616,000 63,780,000 89,099,000 93,616,000 98,645,000 106,098,000 113,605,000 119,831,000 140,241,000 132,179,000 142,847,000 144,836,000 136,849,000 118,565,000 124,275,000 130,291,000 135,561,000 132,615,000 134,216,000 123,490,000 128,717,000         
        other long-term assets
      4,276,000 4,381,000 4,199,000 4,456,000 4,504,000 4,753,000 4,783,000 4,857,000 4,653,000 2,909,000 2,830,000 3,162,000 4,064,000 5,528,000 6,562,000 7,925,000 7,947,000 8,167,000 5,354,000 5,732,000 5,025,000 5,543,000 34,363,000 4,705,000 3,069,000 3,046,000 3,358,000 3,227,000 3,215,000 3,010,000 3,146,000 3,703,000 3,707,000 3,813,000 3,203,000 
        total assets
      506,039,000 507,815,000 530,738,000 480,622,000 484,748,000 472,638,000 507,119,000 486,864,000 536,964,000 538,316,000 624,038,000 614,478,000 659,970,000 660,598,000 744,686,000 764,535,000 863,646,000 898,248,000 929,422,000 819,149,000 833,721,000 856,022,000 880,224,000 769,429,000 781,629,000 799,728,000 797,328,000 616,066,000 591,482,000 557,051,000 550,792,000 481,585,000 449,870,000 416,402,000 298,711,000 
        liabilities and stockholders’ equity
                                         
        current liabilities:
                                         
        accounts payable
      106,964,000 92,194,000 119,915,000 89,243,000 89,155,000 72,421,000 114,386,000 87,058,000 99,242,000 74,303,000 131,444,000 99,317,000 124,932,000 104,715,000 142,442,000 143,934,000 145,604,000 124,431,000 129,229,000 73,499,000 83,098,000 96,788,000 129,547,000 85,177,000 82,890,000 86,092,000 112,161,000 90,883,000 99,727,000 86,815,000 105,662,000 79,782,000 74,286,000 55,145,000 58,519,000 
        operating lease liabilities
      21,308,000 21,737,000 22,547,000 22,752,000 22,333,000 22,202,000 21,999,000 21,817,000 26,791,000 27,086,000 27,650,000 29,343,000 32,704,000 32,413,000 30,199,000 29,014,000 27,333,000 26,716,000 25,881,000 25,702,000 25,668,000 25,718,000 25,531,000 24,333,000 23,066,000 23,475,000 23,042,000         
        accrued liabilities
      104,836,000 107,266,000 101,236,000 76,348,000 75,159,000 74,086,000 69,352,000 73,007,000 65,009,000 75,694,000 75,114,000 78,795,000 81,378,000 91,859,000 97,724,000 94,416,000 112,985,000 95,021,000 115,281,000 99,028,000 118,659,000 116,647,000 110,800,000 77,590,000 70,667,000 84,904,000 86,249,000 69,734,000 66,039,000 66,080,000 67,098,000 43,037,000 48,171,000 51,077,000 64,315,000 
        gift card liability
      6,343,000 7,167,000 5,927,000 6,238,000 6,569,000 7,600,000 6,296,000 6,749,000 10,013,000 11,357,000 9,826,000 10,355,000 10,899,000 12,489,000 10,018,000 10,551,000 11,093,000 13,164,000 9,461,000 9,903,000 10,608,000 12,259,000 8,319,000 8,590,000 8,894,000 10,393,000 6,879,000 7,233,000 7,660,000 9,921,000 6,268,000 6,814,000 6,685,000 8,151,000 5,071,000 
        deferred revenue
      8,299,000 7,728,000 8,372,000 8,616,000 9,022,000 9,038,000 9,256,000 9,217,000 10,328,000 9,765,000 10,702,000 11,551,000 13,564,000 13,428,000 13,757,000 14,441,000 17,208,000 14,445,000 16,617,000 18,154,000 19,985,000 14,953,000 14,963,000 13,059,000 14,689,000 11,273,000 11,976,000 11,997,000 12,962,000 12,496,000 11,206,000 8,870,000 10,268,000 10,433,000 8,813,000 
        other current liabilities
      2,981,000 2,731,000 3,599,000 3,030,000 4,582,000 5,807,000 5,232,000 5,201,000 8,328,000 9,154,000 9,479,000 8,750,000 6,616,000 6,045,000 3,235,000 3,214,000 2,764,000 2,864,000 1,764,000 2,027,000 6,176,000 8,344,000 5,902,000 3,406,000 3,724,000 3,934,000 2,587,000 2,784,000 2,664,000 1,847,000 1,761,000 3,729,000 4,278,000 4,953,000 4,645,000 
        total current liabilities
      250,731,000 238,823,000 261,596,000 206,227,000 206,820,000 191,154,000 226,553,000 203,551,000 219,849,000 209,421,000 270,893,000 238,111,000 270,093,000 260,949,000 297,375,000 295,570,000 316,987,000 276,641,000 298,233,000 228,313,000 264,194,000 274,709,000 295,062,000 212,155,000 203,930,000 220,071,000 242,894,000 182,631,000 189,052,000 177,159,000 191,995,000 142,232,000 143,688,000 129,759,000 158,971,000 
        operating lease liabilities, net of current portion
      53,223,000 58,865,000 64,403,000 70,759,000 76,930,000 83,121,000 89,465,000 95,685,000 105,115,000 111,936,000 118,741,000 125,418,000 131,906,000 139,644,000 147,843,000 141,334,000 148,695,000 151,704,000 144,014,000 121,623,000 127,922,000 134,341,000 140,298,000 140,175,000 142,568,000 125,925,000 131,694,000         
        other long-term liabilities
      618,000 787,000 658,000 658,000 607,000 606,000 606,000 606,000 3,111,000 3,688,000 3,664,000 3,639,000 4,190,000 4,728,000 4,701,000 4,980,000 8,458,000 8,821,000 8,580,000 8,364,000 12,223,000 13,438,000 16,277,000 16,062,000 12,551,000 14,822,000 14,126,000 12,996,000 10,484,000 10,183,000 9,659,000 8,993,000 7,777,000 4,794,000 7,897,000 
        total liabilities
      304,572,000 298,475,000 326,657,000 277,644,000 284,357,000 274,881,000 316,624,000 299,842,000 328,075,000 325,045,000 393,298,000 367,168,000 406,189,000 405,321,000 449,919,000 441,884,000 474,140,000 437,166,000 450,827,000 358,300,000 404,339,000 422,488,000 451,637,000 368,392,000 359,049,000 360,818,000 388,714,000 220,066,000 216,347,000 203,762,000 217,289,000 166,513,000 163,129,000 145,305,000 178,222,000 
        commitments and contingencies
                                         
        stockholders’ equity:
                                         
        class a common stock
      1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000    
        class b common stock
      1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 1,000 2,000 2,000  
        additional paid-in capital
      753,758,000 744,726,000 736,800,000 729,444,000 718,290,000 708,187,000 694,339,000 684,650,000 670,182,000 653,170,000 635,164,000 615,236,000 594,207,000 575,129,000 552,490,000 522,658,000 492,320,000 463,143,000 437,246,000 416,755,000 406,891,000 392,205,000 367,760,000 348,750,000 327,039,000 308,687,000 290,720,000 279,511,000 265,547,000 250,699,000 243,086,000 235,312,000 225,265,000 219,108,000 29,920,000 
        accumulated other comprehensive income
      -628,000 -338,000 -325,000 -434,000 -443,000 -352,000 -295,000 -335,000 -498,000 -432,000 -481,000 527,000    -3,527,000 -2,676,000 991,000 2,493,000 3,411,000 3,276,000 3,268,000 1,727,000 2,728,000 1,515,000 2,294,000 1,396,000 -187,000 91,000 141,000      
        accumulated deficit
      -506,533,000 -505,008,000 -502,354,000 -495,992,000 -487,416,000 -480,038,000 -473,509,000 -467,253,000 -430,755,000 -409,427,000 -373,903,000 -338,413,000 -309,754,000 -287,929,000 -222,358,000                     
        treasury stock
      -45,132,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -30,042,000 -10,996,000                  
        total stockholders’ equity
      201,467,000 209,340,000 204,081,000 202,978,000 200,391,000 197,757,000 190,495,000 187,022,000 208,889,000 213,271,000 230,740,000 247,310,000 253,781,000 255,277,000 294,767,000 322,651,000 389,506,000 461,082,000 478,595,000 460,849,000 429,382,000 433,534,000 428,587,000 401,037,000 422,580,000 438,910,000 408,614,000 396,000,000 375,135,000 353,289,000 333,503,000 315,072,000 286,741,000 271,097,000 78,267,000 
        total liabilities and stockholders’ equity
      506,039,000 507,815,000 530,738,000 480,622,000 484,748,000 472,638,000 507,119,000 486,864,000 536,964,000 538,316,000 624,038,000 614,478,000 659,970,000 660,598,000 744,686,000 764,535,000 863,646,000 898,248,000 929,422,000 819,149,000 833,721,000 856,022,000 880,224,000 769,429,000 781,629,000 799,728,000 797,328,000 616,066,000 591,482,000 557,051,000      
        current liabilities, discontinued operations
            32,000 502,000 138,000 2,062,000 6,678,000                         
        current assets, discontinued operations
           145,000   864,000 953,000 2,438,000                         
        long-term assets, discontinued operations
              294,000 298,000 788,000                         
        income tax receivable
                 673,000 27,012,000 921,000 921,000 27,561,000 27,561,000 27,624,000 27,624,000 27,667,000 48,584,000               
        income tax receivable, net of current portion
                   26,091,000 26,091,000 26,091,000 26,091,000 27,054,000 27,054,000 27,054,000                
        accumulated other comprehensive loss
                  -632,000 -1,883,000 -5,325,000                -56,000     
        retained earnings
                     -166,440,000  7,942,000 38,854,000 40,681,000 19,213,000 38,059,000 59,098,000 49,557,000 94,024,000 127,927,000 116,496,000 116,674,000 109,495,000 102,447,000 90,471,000 79,758,000 61,474,000 51,987,000 48,346,000 
        (accumulated deficit) retained earnings
                      -70,098,000                   
        federal income tax receivable
                           44,896,000              
        deferred tax assets
                             333,000 34,357,000 27,047,000 23,865,000 22,175,000 17,436,000 16,383,000 15,234,000 14,107,000 14,216,000 14,493,000 21,357,000 
        deferred rent, net of current portion
                                 24,439,000 16,811,000 16,420,000 15,635,000 15,288,000 11,664,000 10,752,000 11,354,000 
        restricted cash
                                  250,000 250,000 250,000 250,000   250,000 
        restricted cash, net of current portion
                                  12,600,000 12,600,000 12,600,000 12,600,000 12,850,000 9,100,000 9,100,000 
        cash & cash equivalents
                                    173,341,000     
        liabilities, convertible preferred stock and stockholders’ equity
                                         
        preferred stock, 0.00002 par value – 20,000,000 shares authorized as of october 27, 2018 and july 28, 2018; zero shares issued and outstanding as of october 27, 2018 and july 28, 2018
                                         
        total liabilities, convertible preferred stock and stockholders’ equity
                                    550,792,000 481,585,000 449,870,000 416,402,000 298,711,000 
        preferred stock warrant liability
                                        17,608,000 
        convertible preferred stock, 0.00002 par value – zero and 60,577,280 shares authorized as of july 28, 2018 and july 29, 2017, respectively; zero and 59,511,055 shares issued and outstanding as of july 28, 2018 and july 29, 2017, respectively; aggregate liquidation preference of 42,389 as of july 29, 2017
                                         
        preferred stock, 0.00002 par value – 20,000,000 and zero shares authorized as of july 28, 2018 and july 29, 2017, respectively; zero shares issued and outstanding as of july 28, 2018 and july 29, 2017
                                         
        cash
                                      287,257,000 266,374,000 131,096,000 
        convertible preferred stock, 0.00002 par value – zero and 60,577,280 shares authorized as of april 28, 2018 and july 29, 2017, respectively; zero and 59,511,055 shares issued and outstanding as of april 28, 2018 and july 29, 2017, respectively; aggregate liquidation preference of 42,389 as of july 29, 2017
                                         
        preferred stock, 0.00002 par value – 20,000,000 and zero shares authorized as of april 28, 2018 and july 29, 2017, respectively; zero shares issued and outstanding as of april 28, 2018 and july 29, 2017
                                         
        shares authorized, issued and outstanding as of july 29, 2017 includes common stock prior to our initial public offering. please see note 1 for additional details.
                                         
        convertible preferred stock, 0.00002 par value – zero and 60,577,280 shares authorized as of january 27, 2018 and july 29, 2017, respectively; zero and 59,511,055 shares issued and outstanding as of january 27, 2018 and july 29, 2017, respectively; aggregate liquidation preference of 42,389 as of july 29, 2017
                                         
        preferred stock, 0.00002 par value – 20,000,000 and zero shares authorized as of january 27, 2018 and july 29, 2017, respectively; zero shares issued and outstanding as of january 27, 2018 and july 29, 2017
                                         
        convertible preferred stock, 0.00002 par value – 60,577,280 shares authorized as of october 28, 2017 and july 29, 2017; 59,511,055 shares issued and outstanding as of october 28, 2017 and july 29, 2017; aggregate liquidation preference of 42,389 as of october 28, 2017 and july 29, 2017
                                        42,222,000 
        common stock
                                        1,000 
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-05-02 2026-01-31 2025-11-01 2025-08-02 2025-05-03 2025-02-01 2024-11-02 2024-08-03 2024-04-27 2024-01-27 2023-10-28 2023-07-29 2023-04-29 2023-01-28 2022-10-29 2022-07-30 2022-04-30 2022-01-29 2021-10-30 2021-07-31 2021-05-01 2021-01-30 2020-10-31 2020-08-01 2020-05-02 2020-02-01 2019-11-02 2019-08-03 2019-04-27 2019-01-26 2018-10-27 2018-07-28 2018-04-28 2018-01-27 2017-10-28 
                                           
          cash flows from operating activities from continuing operations:
                                           
          net loss from continuing operations
        -1,525,000 -2,654,000 -6,362,000 -8,577,000 -7,381,000 -6,623,000 -6,263,000 -35,741,000 -22,017,000 -34,956,000 -26,171,000                         
          adjustments to reconcile net loss from continuing operations to net cash from operating activities from continuing operations:
                                           
          change in inventory reserves
        -2,468,000 4,075,000 2,308,000 1,328,000 937,000 -2,923,000 4,970,000 -2,165,000 -7,792,000 -8,220,000 3,083,000 -5,802,000 -5,739,000 -6,889,000 476,000 14,251,000 1,856,000 3,208,000 -2,763,000                 
          stock-based compensation expense
        11,139,000 14,405,000 11,496,000 13,069,000 13,727,000 17,281,000 12,650,000 16,845,000 18,944,000 21,065,000 19,902,000 24,275,000 22,636,000 25,867,000 31,714,000 32,180,000 31,592,000 32,390,000 32,323,000 27,210,000 28,802,000 24,759,000 19,925,000 20,055,000 19,594,000 15,755,000 12,126,000 11,441,000 9,068,000 8,110,000 6,637,000 5,126,000 5,142,000 3,097,000 2,038,000 
          depreciation, amortization, and accretion
        5,901,000 5,994,000 5,994,000 6,168,000 6,475,000 6,622,000 6,859,000 8,027,000     10,180,000 11,938,000 10,157,000 10,000,000 9,811,000 9,039,000 8,335,000 7,996,000 7,727,000 7,245,000 6,961,000 6,353,000 5,917,000 5,695,000 4,652,000         
          other
        -102,000 -498,000 2,288,000 -4,000 20,000 34,000 -194,000 678,000 -1,372,000 19,000 601,000 450,000 1,036,000 31,000 248,000 45,000 930,000 -923,000 -1,769,000 -2,077,000 -57,000 271,000 267,000 544,000 58,000 13,000         
          change in operating assets and liabilities:
                                           
          inventory
        -7,612,000 15,296,000 -25,441,000 -5,288,000 -5,756,000 12,477,000 -26,212,000 18,729,000 19,358,000 42,907,000 -33,255,000 20,279,000 13,184,000 68,677,000 -23,781,000 1,328,000 -32,022,000 -2,706,000 30,806,000 925,000 -34,957,000 -31,359,000 -30,665,000 49,978,000 -33,614,000 251,000 -31,837,000 -13,415,000 -4,890,000 244,000 -23,172,000 -858,000 971,000 4,679,000 -24,208,000 
          prepaid expenses and other assets
        -2,180,000 -4,110,000 883,000 3,743,000 -392,000 -3,899,000 1,771,000 2,847,000 -6,429,000 3,878,000 2,800,000 4,389,000 1,132,000 9,809,000 -871,000 19,496,000 -5,631,000 -11,790,000 6,035,000 -16,189,000 -6,431,000 30,823,000 -28,299,000 -2,202,000 -9,648,000 2,194,000 2,973,000 -10,862,000 -7,515,000 294,000 1,252,000 -16,900,000 -5,485,000 994,000 4,084,000 
          operating lease right-of-use assets and liabilities
        -3,156,000 -3,223,000 -3,485,000 -2,723,000 -2,886,000 -2,929,000 -2,874,000 -5,647,000 -2,599,000 -2,340,000 -1,349,000 -2,521,000 -1,222,000 236,000 -347,000 -191,000 -363,000 4,754,000 101,000 -562,000 -463,000 -568,000 -225,000 -1,334,000 1,587,000 -131,000 272,000         
          accounts payable
        14,359,000 -27,832,000 30,377,000 315,000 16,644,000 -42,168,000 27,223,000 -12,196,000 24,913,000 -57,172,000 34,709,000 -25,556,000 19,978,000 -37,760,000 -918,000 -1,617,000 21,670,000 -4,056,000 55,352,000 -8,903,000 -14,743,000 -33,348,000 44,609,000 2,049,000 -2,699,000 -26,591,000 21,721,000 -9,309,000 13,071,000 -18,996,000 26,008,000 5,908,000 18,751,000 -3,124,000 13,967,000 
          accrued liabilities
        -2,410,000 6,012,000 -7,159,000 968,000 1,419,000 4,269,000 -3,507,000 7,988,000 -10,999,000 813,000 7,502,000 -3,596,000 -11,673,000 -8,066,000 4,226,000 -17,699,000 19,325,000 -20,460,000 16,193,000 -18,903,000 2,151,000 6,526,000 32,237,000 7,105,000 -14,062,000 -916,000 16,170,000 4,352,000 815,000 -6,671,000 24,360,000 -5,452,000 -2,627,000 -12,458,000 16,942,000 
          deferred revenue
        571,000 -644,000 -244,000 -406,000 -16,000 -218,000 39,000 -1,112,000 563,000 -937,000 -664,000 -2,016,000 133,000 -345,000 -671,000 -2,763,000 2,783,000 -2,167,000 -1,532,000 -1,831,000 5,029,000 -22,000 1,906,000 -1,638,000 3,421,000 -704,000 -25,000 -963,000 466,000 1,290,000 2,532,000 -1,398,000 -165,000 1,620,000 1,663,000 
          gift card liability
        -824,000 1,240,000 -311,000 -331,000 -1,031,000 1,304,000 -453,000 -3,264,000 -1,343,000 1,531,000 -503,000 -544,000 -1,591,000 2,470,000 -532,000 -541,000 -2,071,000 3,703,000 -442,000 -705,000 -1,651,000 3,940,000 -271,000 -304,000 -1,499,000 3,514,000 -354,000 -426,000 -2,261,000 3,653,000 -141,000 129,000 -1,466,000 3,080,000 -119,000 
          other liabilities
        81,000 -739,000 569,000 -1,501,000 -1,224,000 575,000 31,000 -5,631,000 -1,403,000 -301,000 702,000 1,562,000 39,000 2,832,000 -254,000 -3,029,000 -458,000 1,343,000 -45,000 -8,009,000 -3,384,000 -401,000 2,712,000 1,871,000 -2,478,000 2,037,000 2,150,000 10,327,000 1,572,000 1,457,000 -865,000 4,029,000 3,310,000 -3,256,000 748,000 
          net cash from operating activities from continuing operations
        11,774,000 7,322,000 10,913,000 7,003,000 20,516,000 -16,212,000 14,268,000 8,200,000 21,743,000 -22,295,000 20,559,000                         
          capital expenditures
        -4,765,000 -3,842,000 -3,969,000 -4,235,000 -4,773,000 -1,878,000 -4,280,000 -3,684,000 -2,493,000 -3,976,000 -2,554,000                         
          free cash flows
        7,009,000 3,480,000 6,944,000 2,768,000 15,743,000 -18,090,000 9,988,000 4,516,000 19,250,000 -26,271,000 18,005,000                         
          cash flows from investing activities from continuing operations:
                                           
          proceeds from sale of property and equipment
               42,000 287,000 21,000                        
          purchases of property and equipment
        -5,254,000 -3,971,000 -5,339,000 -4,228,000 -4,518,000 -3,224,000 -4,323,000 -3,706,000 -2,832,000 -3,774,000 -3,653,000 -3,388,000 -3,738,000 -5,743,000 -6,143,000 -7,670,000 -7,781,000 -14,508,000 -16,392,000 -11,566,000 -9,796,000 -7,909,000 -5,985,000 -11,556,000 -7,205,000 -3,944,000 -7,502,000 -6,308,000 -12,614,000 -4,918,000 -6,985,000     
          purchases of securities available-for-sale
        -70,504,000 -24,134,000 -9,410,000 -33,764,000 -67,547,000 -50,480,000 -46,074,000 -49,429,000    -258,000 -1,967,000 -14,921,000 -25,097,000 -52,435,000 -24,727,000 -36,353,000 -71,339,000 -41,307,000 -56,424,000 -61,969,000 -62,390,000 -67,535,000 -52,054,000 -47,157,000 -16,899,000 -169,095,000     
          sales of securities available-for-sale
        1,500,000 5,250,000 3,000,000 2,468,000     -1,000 2,380,000 4,144,000 39,539,000 1,122,000 2,530,000 2,160,000 30,638,000 44,546,000 13,124,000 16,193,000 10,301,000 12,191,000 8,789,000 5,306,000 8,182,000 1,251,000 861,000 302,000     
          maturities of securities available-for-sale
        50,150,000 32,377,000 7,500,000 33,310,000 48,350,000 50,459,000 12,200,000 13,900,000 2,325,000 3,150,000 12,820,000 32,175,000 32,846,000   7,345,000 22,199,000 16,979,000 59,130,000 10,575,000 42,560,000 57,639,000 32,800,000 39,395,000 50,407,000 58,465,000 23,210,000 58,750,000 12,000,000       
          net cash from investing activities from continuing operations
        -25,591,000 4,272,000 -5,749,000 568,000 -20,715,000 -3,245,000 -35,729,000 -39,193,000 -48,113,000 -624,000 9,188,000                         
          cash flows from financing activities from continuing operations:
                                           
          proceeds from the exercise of stock options
        347,000 248,000 1,086,000 1,000       6,000 1,000   21,000 148,000 311,000 1,054,000 3,191,000 2,202,000 15,433,000 5,106,000 5,842,000 578,000 5,140,000 518,000 4,409,000 7,353,000 1,294,000 637,000 4,116,000 666,000 562,000 444,000 
          payments for tax withholdings related to vesting of share-based awards
        -2,539,000                                   
          repurchase of common stock
                       -20,046,000                   
          net cash from financing activities from continuing operations
        -17,629,000 -7,306,000 -4,622,000 -2,535,000 -4,239,000 -4,408,000 -3,785,000 -3,676,000 -3,087,000 -4,622,000 -4,108,000                         
          net decrease in cash and cash equivalents from continuing operations
            -4,438,000                               
          cash flows from discontinued operations:
                                           
          net cash from operating activities from discontinued operations
           1,000 148,000 -83,000 -463,000 766,000 -1,142,000 -3,192,000 -6,119,000                         
          net decrease in cash and cash equivalents from discontinued operations
           1,000 148,000 -83,000 -463,000 765,000 -1,142,000 -3,199,000 -6,283,000                         
          net decrease in cash and cash equivalents
            -4,290,000                               
          cash and cash equivalents at beginning of period
        113,952,000 162,862,000 239,437,000  130,935,000 129,785,000 143,455,000             
          cash and cash equivalents at end of period
        -31,446,000 4,288,000 114,494,000 5,037,000 -4,290,000 -23,948,000 137,153,000 -33,645,000 -30,996,000 -29,395,000 256,898,000  54,596,000 25,633,000 113,346,000 -6,786,000 -56,157,000 -55,799,000 249,677,000 5,048,000 -15,294,000 -60,315,000 200,346,000             
          supplemental disclosure
                                           
          cash paid for income taxes
        173,000 33,000 193,000 100,000 521,000 221,000 3,000 847,000 386,000 324,000 609,000 95,000 83,000 310,000 169,000 199,000 190,000 229,000 5,000 189,000 38,000 248,000 27,000 83,000 7,000 775,000 149,000 42,000 488,000 6,492,000   
          supplemental disclosure of non-cash investing and financing activities:
                                           
          purchases of property and equipment included in accounts payable and accrued liabilities
        489,000 129,000 1,370,000 -7,000 -255,000 1,346,000 43,000 22,000 339,000 -202,000 1,099,000 -351,000 147,000 -149,000 1,579,000 -568,000 -29,000 -1,354,000 4,394,000 -2,588,000 861,000 650,000 4,880,000 -250,000 -136,000 3,743,000 731,000 1,106,000 -575,000 4,517,000 224,000 -96,000 111,000 -242,000 1,022,000 
          capitalized stock-based compensation
        432,000 612,000 482,000 620,000 615,000 882,000 824,000 1,292,000 1,119,000 1,265,000 1,303,000 1,647,000 1,365,000 1,538,000 1,871,000 1,964,000 1,980,000 1,816,000 1,866,000 1,749,000 1,596,000 1,367,000 981,000 749,000 808,000 120,000 773,000 512,000 465,000 402,000 410,000 363,000 259,000 140,000 121,000 
          net increase in cash and cash equivalents from continuing operations
         4,288,000 542,000    -25,246,000 -34,669,000 -29,457,000 -27,541,000 25,639,000                         
          net increase in cash and cash equivalents
         4,288,000 542,000    -25,709,000 -33,645,000 -30,996,000 -29,395,000 17,461,000 46,899,000 54,265,000 23,513,000 -16,175,000 -5,619,000 -54,299,000 -55,125,000 120,421,000 4,711,000 -15,483,000 -61,859,000 57,164,000             
          payments for tax withholdings related to vesting of restricted stock units
          -4,870,000 -3,621,000 -4,240,000 -4,321,000 -3,785,000 -4,697,000 -3,051,000 -4,334,000 -4,008,000 -4,866,000 -3,748,000 -3,216,000 -3,753,000 -3,827,000 -4,543,000 -8,620,000 -14,752,000                 
          asset impairment
                   1,316,000                       
          income tax receivables
                   26,339,000 26,640,000 1,026,000 43,000                 
          net cash from investing activities from discontinued operations
                                           
          net cash from financing activities from discontinued operations
               -1,000 -7,000 -164,000                         
          effect of exchange rate changes on cash and cash equivalents
               259,000 -397,000 1,345,000 -1,895,000 848,000 331,000 2,120,000 -1,414,000                     
          cash flows from operating activities from continuing operations
                                           
          cash flows from investing activities from continuing operations
                                           
          cash flows from financing activities from continuing operations
                                           
          cash flows from discontinued operations
                                           
          supplemental disclosure of non-cash investing and financing activities
                                           
          depreciation and amortization
                 12,809,000 13,784,000                  3,735,000 3,281,000 3,175,000 3,004,000 2,650,000 2,618,000 2,270,000 
          cash flows from operating activities
                                           
          net loss
                   -28,659,000 -21,825,000 -65,571,000 -55,918,000 -96,342,000 -78,040,000                   
          adjustments to reconcile net loss to net cash from operating activities:
                                           
          net cash from operating activities
                   21,088,000 25,682,000 21,108,000 -10,048,000 -39,060,000 -30,477,000 -16,724,000 141,656,000 19,387,000 -40,728,000 -51,693,000 57,359,000 63,365,000 -58,730,000 10,718,000 27,524,000 3,386,000 17,541,000 6,701,000 50,966,000 10,682,000 27,761,000 8,944,000 24,791,000 
          cash flows from investing activities
                                           
          net cash from investing activities
                   28,786,000 32,330,000 5,467,000 -2,257,000 37,247,000 619,000 -20,096,000 -7,537,000 4,920,000 40,957,000 -8,485,000 1,701,000 -18,284,000 -6,576,000 920,000 -46,521,000 8,570,000 -46,520,000 -11,456,000 -175,778,000 -4,539,000 -3,794,000 -4,052,000 -4,180,000 
          cash flows from financing activities
                                           
          net cash from financing activities
                   -4,860,000 -3,747,000 -3,062,000 -3,870,000 -3,806,000 -24,441,000 -18,305,000 -13,698,000 -19,596,000 -15,712,000 -1,681,000 -1,896,000 213,000 -2,050,000 2,096,000 -1,694,000 2,011,000 5,284,000 -987,000 637,000 4,116,000 666,000 130,136,000 -123,000 
          cash and cash equivalents, beginning of the year
                                           
          cash and cash equivalents, end of the year
                                           
          repurchase of common stock included in accrued liabilities
                                           
          deferred income taxes and valuation allowance
                                           
          issuance costs on revolving credit facility
                                           
          leasehold improvements paid by landlord
                               7,406,000         
          effect of exchange rate changes on cash
                        -1,858,000 -674,000 -529,000 337,000 189,000 1,544,000 -273,000 1,321,000 -1,793,000 476,000 1,538,000 286,000 28,000       
          net income
                          -1,827,000 21,468,000 -18,846,000 -21,039,000 9,541,000 -44,467,000 -33,903,000 11,431,000 -178,000 7,179,000 7,048,000 11,976,000 10,678,000 18,284,000 9,487,000 3,641,000 13,488,000 
          adjustments to reconcile net income to net cash from operating activities:
                                           
          inventory reserves
                           2,453,000 1,803,000 5,962,000 -1,343,000 -9,555,000 15,552,000 1,030,000 1,801,000 5,169,000 -2,048,000 3,290,000 1,563,000 -2,012,000 -3,099,000   
          payments for tax withholding related to vesting of restricted stock units
                           -22,286,000 -17,914,000 -17,114,000 -7,002,000 -4,935,000 -2,628,000 -3,044,000 -2,212,000 -2,398,000 -2,069,000       
          vesting of early exercised options
                                   31,000 88,000 90,000 442,000 90,000 141,000 315,000 
          deferred income taxes
                               -7,966,000 -7,442,000 -2,905,000 -1,960,000 -4,371,000 -1,544,000 -1,227,000 -1,061,000 813,000 277,000 6,864,000 -1,366,000 
          income tax receivable
                                           
          long-term federal income tax receivable
                                           
          deferred tax assets valuation allowance
                                           
          remeasurement of preferred stock warrant liability
                                       -1,614,000 -9,071,000 
          proceeds from initial public offering, net of underwriting discounts paid
                                         
          repurchase of class b common stock related to early exercised options
                                         
          net increase in cash, cash equivalents, and restricted cash
                               45,294,000 -67,356,000 13,734,000 -20,691,000 13,967,000 -23,695,000       
          cash, cash equivalents, and restricted cash at beginning of period
                               170,932,000       
          cash, cash equivalents, and restricted cash at end of period
                               46,615,000 -69,149,000 14,210,000 151,779,000 14,253,000 -23,667,000       
          components of cash, cash equivalents, and restricted cash
                                           
          cash and cash equivalents
                               46,615,000 -69,149,000 14,210,000 151,779,000 27,103,000 -23,667,000 -5,845,000 173,341,000     
          restricted cash – current portion
                                    250,000    250,000 
          restricted cash – long-term portion
                                    12,600,000 -250,000 3,750,000 9,100,000 
          total cash, cash equivalents, and restricted cash
                               46,615,000 -69,149,000 14,210,000 151,779,000 14,253,000 -23,667,000       
          conversion of preferred stock upon initial public offering
                                         
          reclassification of preferred stock warrant liability upon initial public offering
                                         
          deferred offering costs paid in prior year
                                         
          compensation expense related to certain stock sales by current and former employees
                                           
          excess tax benefit related to stock-based compensation expense
                                           
          loss on disposal of property and equipment
                                   124,000    9,000 15,000 131,000 
          payment of deferred offering costs
                                          -528,000 
          deferred offering costs included in accrued liabilities
                                           
          deferred offering costs included in accounts payable and accrued liabilities
                                         -786,000 920,000 
          net increase in cash, cash equivalents and restricted cash
                                      -124,175,000     
          cash, cash equivalents and restricted cash at beginning of period
                                      310,366,000     
          cash, cash equivalents and restricted cash at end of period
                                      186,191,000     
          components of cash, cash equivalents and restricted cash
                                           
          total cash, cash equivalents and restricted cash
                                      186,191,000     
          purchase of property and equipment
                                       -4,539,000 -3,794,000 -4,052,000 -4,180,000 
          net increase in cash and restricted cash
                                       10,259,000 24,633,000 135,028,000 20,488,000 
          cash and restricted cash at beginning of period
                                       119,958,000 
          cash and restricted cash at end of period
                                       10,259,000 24,633,000 135,028,000 140,446,000 
          components of cash and restricted cash
                                           
          cash
                                       10,259,000 20,883,000 135,278,000 131,096,000 
          total cash and restricted cash
                                       10,259,000 24,633,000 135,028,000 140,446,000 
          inventory reserve
                                          4,224,000 
          repurchase of common stock related to early exercised options
                                          -39,000