7Baggers

Redfin Corporation
(NASDAQ:RDFN) 

RDFN stock logo

Redfin Corporation operates as a residential real estate brokerage company in the United States and Canada. The company operates an online real estate marketplace and provides real estate services, including assisting individuals in the purchase or sell of home. It also provides title and settlement...

Founded: 2002
IPO Price: $15 (Jul 28, 2017)
Full Time Employees: 3,377
Founder: David Eraker 
CEO: Glenn Kelman  
Sector: Real Estate
Industry: Real Estate Services

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: USD2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 
                                   
      revenue
    221,027,000 244,282,000 278,015,000 295,203,000 225,479,000  275,556,000                  124,129,000 140,255,000 142,642,000 79,893,000 95,754,000 109,479,000 104,935,000 
      yoy
    -1.97%  0.89%                      29.63% 28.11% 35.93%     
      qoq
    -9.52% -12.13% -5.82% 30.92%                     -11.50% -1.67% 78.54% -16.56% -12.54% 4.33%  
      cost of revenue
    150,393,000 162,342,000 176,152,000 185,617,000 154,667,000  175,366,000                  97,920,000 97,950,000 97,429,000 74,197,000 66,583,000 70,166,000 67,975,000 
      gross profit
    70,634,000 81,940,000 101,863,000 109,586,000 70,812,000  100,190,000 56,207,000 37,436,000 58,077,000 118,003,000 72,538,000 108,024,000 127,302,000 126,136,000 42,358,000 80,120,000 93,072,000 46,039,000 12,879,000 39,625,000 53,377,000 48,346,000 2,753,000 26,209,000 42,305,000 45,213,000 5,696,000 29,171,000 39,313,000 36,960,000 
      yoy
    -0.25%  1.67% 94.97% 89.15%  -15.10% -22.51% -65.34% -54.38% -6.45% 71.25% 34.83% 36.78% 173.98% 228.89% 102.20% 74.37% -4.77% 367.82% 51.19% 26.17% 6.93% -51.67% -10.15% 7.61% 22.33%     
      qoq
    -13.80% -19.56% -7.05% 54.76%   78.25% 50.14% -35.54% -50.78% 62.68% -32.85% -15.14% 0.92% 197.79% -47.13% -13.92% 102.16% 257.47% -67.50% -25.76% 10.41% 1656.12% -89.50% -38.05% -6.43% 693.77% -80.47% -25.80% 6.37%  
      gross margin %
    31.96% 33.54% 36.64% 37.12% 31.41% NaN% 36.36% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% 21.11% 30.16% 31.70% 7.13% 30.46% 35.91% 35.22% 
      operating expenses
                                   
      technology and development
    39,486,000 34,951,000 40,332,000 42,215,000 46,429,000  47,141,000 48,192,000 47,041,000 48,063,000 51,506,000 49,640,000 43,894,000 43,658,000 41,488,000 27,678,000 23,610,000 22,452,000 17,961,000 20,274,000 19,344,000 18,801,000 16,063,000 15,556,000 13,692,000 14,310,000 13,033,000 12,762,000 11,287,000 11,483,000 10,090,000 
      marketing
    39,265,000 22,157,000 27,186,000 40,260,000 24,878,000  33,033,000 40,908,000 24,239,000 33,748,000 56,743,000 43,342,000 22,397,000 49,143,000 55,398,000 11,802,000 7,270,000 12,421,000 9,482,000 25,708,000 8,099,000 8,361,000 27,050,000 33,201,000 8,055,000 8,236,000 14,435,000 13,336,000 6,072,000 5,588,000 10,132,000 
      general and administrative
    56,467,000 53,998,000 58,788,000 54,705,000 67,873,000  61,765,000 69,962,000 62,889,000 61,005,000 71,733,000 58,966,000 66,963,000 54,395,000 59,567,000 37,391,000 23,601,000 21,190,000 23,022,000 24,327,000 18,993,000 18,779,000 17,654,000 21,448,000 16,968,000 16,470,000 15,288,000 16,772,000 14,181,000 11,995,000 12,466,000 
      restructuring and reorganization
    20,930,000 952,000 2,509,000 1,334,000 889,000  6,106,000 1,053,000 21,799,000 284,000 12,677,000 5,710,000                    
      total operating expenses
    156,148,000 112,058,000 128,815,000 138,514,000 140,069,000  148,045,000 160,115,000 155,968,000 143,100,000 192,659,000 157,658,000 133,254,000 147,196,000 156,453,000 76,871,000 54,481,000 56,063,000 50,465,000 70,309,000 46,436,000 45,941,000 60,767,000 70,205,000 38,715,000 39,016,000 42,756,000 42,870,000 31,540,000 29,066,000 32,688,000 
      income from operations
    -85,514,000       -103,908,000 -118,532,000 -85,023,000 -74,656,000 -85,120,000 -25,230,000 -19,894,000 -30,317,000 -34,513,000 25,639,000 37,009,000 -4,426,000 -57,430,000 -6,811,000 7,436,000 -12,421,000 -67,452,000 -12,506,000 3,289,000 2,457,000 -37,174,000 -2,369,000 10,247,000 4,272,000 
      yoy
           22.07% 369.81% 327.38% 146.25% 146.63% -198.40% -153.75% 584.98% -39.90% -476.44% 397.70% -64.37% -14.86% -45.54% 126.09% -605.54% 81.45% 427.90% -67.90% -42.49%     
      qoq
           -12.34% 39.41% 13.89% -12.29% 237.38% 26.82% -34.38% -12.16% -234.61% -30.72% -936.17% -92.29% 743.19% -191.59% -159.87% -81.59% 439.36% -480.24% 33.86% -106.61% 1469.19% -123.12% 139.86%  
      operating margin %
    -38.69% 0% 0% 0% 0% NaN% 0% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% Infinity% Infinity% -Infinity% -Infinity% -Infinity% Infinity% -Infinity% -Infinity% -10.08% 2.35% 1.72% -46.53% -2.47% 9.36% 4.07% 
      interest income
    1,119,000 1,216,000 1,839,000 1,461,000 1,832,000  2,704,000 3,406,000 4,691,000 1,174,000 554,000 220,000 163,000 178,000 135,000 159,000 215,000 319,000 437,000 1,103,000 1,342,000 1,576,000 1,913,000 2,316,000 2,334,000 1,775,000 729,000 577,000 495,000 311,000 32,000 
      interest expense
    -7,784,000 -8,283,000 -8,537,000 -6,086,000 -4,874,000  -1,766,000 -1,922,000 -4,904,000 -5,359,000 -3,620,000 -3,861,000 -3,940,000 -3,672,000 -2,813,000 -1,338,000 -11,864,000 -2,522,000 -2,665,000 -2,444,000 -2,364,000 -2,274,000 -2,153,000 -2,136,000 -2,071,000 -1,610,000      
      income tax benefit
    -255,000    172,000    299,000 -132,000 -159,000  744,000 311,000 5,052,000                 
      gain on extinguishment of convertible senior notes
       6,314,000 5,686,000  20,083,000 42,270,000                        
      other income
    -85,000 -85,000 -144,000 -82,000 -333,000  -145,000 -234,000 -693,000 -905,000 -265,000 -1,911,000 1,261,000 4,128,000 65,000 -92,000 45,000 -640,000 43,000 -1,346,000 51,000 44,000 36,000 92,000 21,000 21,000 21,000 158,000 75,000   
      net income
    -92,519,000 -36,365,000 -33,782,000 -27,880,000 -66,774,000  -27,358,000 -60,798,000 -61,946,000 -90,245,000 -78,146,000 -90,806,000 -27,002,000 -18,949,000 -27,878,000 -35,784,000 14,035,000 34,166,000 -6,611,000 -60,117,000 -7,782,000 6,782,000 -12,625,000 -67,180,000 -12,222,000 3,475,000 3,207,000 -36,439,000 -1,799,000 10,558,000 4,304,000 
      yoy
    38.56%  23.48% -54.14% 7.79%  -64.99% -33.05% 129.41% 376.25% 180.31% 153.76% -292.39% -155.46% 321.69% -40.48% -280.35% 403.77% -47.64% -10.51% -36.33% 95.17% -493.67% 84.36% 579.38% -67.09% -25.49%     
      qoq
    154.42% 7.65% 21.17% -58.25%   -55.00% -1.85% -31.36% 15.48% -13.94% 236.29% 42.50% -32.03% -22.09% -354.96% -58.92% -616.81% -89.00% 672.51% -214.74% -153.72% -81.21% 449.66% -451.71% 8.36% -108.80% 1925.51% -117.04% 145.31%  
      net income margin %
    -41.86% -14.89% -12.15% -9.44% -29.61% NaN% -9.93% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% Infinity% Infinity% -Infinity% -Infinity% -Infinity% Infinity% -Infinity% -Infinity% -9.85% 2.48% 2.25% -45.61% -1.88% 9.64% 4.10% 
      dividends on convertible preferred stock
     -367,000 -282,000 -191,000 -233,000  -297,000 -226,000   -350,000 -793,000 -1,394,000 -1,662,000 -1,878,000 -2,336,000                
      net income attributable to common stock—basic and diluted
    -92,519,000 -36,732,000 -34,064,000 -28,071,000 -67,007,000  -27,655 -61,024,000 -62,090,000 -90,517,000 -78,496,000 -91,599,000 -28,396,000 -20,611,000 -29,756,000 -38,120,000 12,395,000 31,983,000 -7,895,000         -36,439,000    
      net income per share
    -0.73       -0.55 -0.57 -0.83 -0.73 -0.86 -0.27 -0.2 -0.29 -0.37 0.13 0.32 -0.08 -0.64 -0.08 0.07 -0.14 -0.74 -0.14 0.04 0.04 -0.44 1.9 -0.5 -7.15 
      weighted-average shares to compute net income per share attributable to common stock—basic and diluted
    127,168,402  122,876,102 120,393,897 118,364,267  111,678,417 110,103,598  108,618,491 107,396,575 106,664,140   104,391,337 103,427,764                
      other comprehensive income
                                   
      foreign currency translation adjustments
    -23 -26 -3   58 29 27 34   13 -25 -10 37        
      unrealized gain on available-for-sale debt securities
     10   40  -17 -424 203 34 217 561 40.25 27 84                 
      comprehensive loss
    -92,542 -36,391 -33,778 -27,879 -66,737  -27,375 -61,164 -62,196 -90,184 -77,895 -90,241   -27,794 -35,834                
      income from continuing operations
     -30,118,000 -26,952,000 -28,928,000 -69,257,000  -47,855,000                         
      income tax expense
     -93,750 12,000 -559,000   -233,000 -410,000    -134,000                    
      net income from continuing operations
     -36,365,000 -33,782,000 -27,880,000 -66,774,000  -27,212,000                         
      net income from discontinued operations
          -146,000                         
      net income from continuing operations attributable to common stock—basic and diluted
     -36,732,000 -34,064,000 -28,071,000 -67,007,000  -27,509,000                         
      net income from continuing operations per share attributable to common stock—basic and diluted
     -0.29 -0.28 -0.23 -0.57  -0.25                         
      net income attributable to common stock per share—basic and diluted
     -0.268 -0.28 -0.23 -0.57  -0.25                         
      service
           212,934,000 219,121,000 300,854,000 344,309,000 217,593,000 265,992,000 301,657,000 298,870,000 175,593,000 204,452,000 217,280,000 141,135,000 111,478,000 134,128,000 158,519,000 157,872,000 88,768,000        
      product
           112,727,000 260,543,000 299,663,000 262,606,000 379,753,000 377,065,000 238,417,000 172,445,000 92,726,000 40,065,000 19,636,000 72,530,000 79,517,000 99,063,000 80,164,000 39,908,000 21,373,000        
      total revenue
           325,661,000 479,664,000 600,517,000 606,915,000 597,346,000 643,057,000 540,074,000 471,315,000 268,319,000 244,517,000 236,916,000 213,665,000 190,995,000 233,191,000 238,683,000 197,780,000 110,141,000        
      total cost of revenue
           269,454,000 442,228,000 542,440,000 488,912,000 524,808,000 535,033,000 412,772,000 345,179,000 225,961,000 164,397,000 143,844,000 167,626,000 178,116,000 193,566,000 185,306,000 149,434,000 107,388,000        
      non-cash dividends on convertible preferred stock
            -354,000 -272,000                      
      undistributed earnings attributable to participating securities
                     -653,000              
      weighted-average shares to compute net income per share attributable to common stock—basic
                 105,144,872                  
      weighted-average shares to compute net income per share attributable to common stock—diluted
                 105,144,872                  
      comprehensive income
                -20,611.75 -18,919                  
      unrealized gain on available-for-sale securities
                   -50 -110 -139 -137 559           
      dividend on convertible preferred stock
                    -703,500 -1,530,000 -1,284,000             
      weighted-average shares of common stock—basic
                     99,840,144              
      weighted-average shares of common stock—diluted
                     107,607,711              
      total comprehensive income
                    -8,074 34,033   -18,249.25 6,764 -12,582         
      weighted-average shares of common stock—basic and diluted
                      98,785,318 93,442,706 91,583,533           
      total comprehensive loss
                      -6,745 -59,583    -67,179        
      weighted-average shares - basic
                         91,994,731 91,216,886   87,743,223 83,164,670     
      weighted-average shares - diluted
                         97,171,270 91,216,886   94,642,463 90,743,178     
      other comprehensive income:
                                   
      unrealized loss on available-for-sale securities
                        -0.5 -8          
      weighted-average shares - basic and diluted
                           90,610,416        
      operating expenses:
                                   
      accretion of redeemable convertible preferred stock
                                 -40,224,000 -110,921,000 
      net income attributable to common stock - basic and diluted
                            -7,439,000 3,475,000 3,207,000     
      interest income and other income, net:
                                   
      total interest income and other income
                              750,000 735,000 570,000 311,000 32,000 
      weighted-average shares used for eps calculation
     121,677,971    113,152,752   107,927,464    104,683,460    98,574,529        85,669,039   82,010,913 42,722,114 58,868,903 14,913,234 
      net income attributable to common stock—basic
                                -47,279,500 -29,666,000 -106,617,000 
      net income attributable to common stock—diluted
                                -47,279,500 -29,666,000 -106,617,000 
      pro forma net income per share attributable to common stock—basic and diluted
                                  0.06 
      pro forma weighted-average shares used to compute net income per share attributable to common stock—basic and diluted
                                  70,335,236 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 
                                     
        assets
                                     
        current assets
                                     
        cash and cash equivalents
      183,538,000 124,743,000 165,660,000 201,812,000 107,129,000 149,759,000 118,776,000 149,940,000 239,840,000 359,724,000 379,922,000 612,680,000 591,003,000 562,714,000 735,387,000 1,241,255,000 925,276,000 371,573,000 325,352,000 213,940,000 234,679,000 209,234,000 241,104,000 395,618,000 432,608,000 448,968,000 194,237,000 190,773,000 208,342,000 212,436,000 54,210,000 
        restricted cash
      128,000 229,000 174,000 756,000 1,274,000 1,241,000 2,377,000 2,416,000 2,406,000 43,992,000 28,279,000 36,047,000 127,278,000 74,532,000 52,295,000 101,790,000 20,544,000 16,393,000 35,102,000 16,772,000 12,769,000 9,984,000 18,133,000 10,471,000 6,446,000 11,968,000 17,408,000 11,124,000 4,316,000 10,101,000 11,848,000 
        accounts receivable
      39,731,000 48,730,000 74,971,000 75,522,000 54,839,000 51,738,000 67,753,000 48,142,000 54,880,000 96,343,000 86,082,000 52,282,000 69,594,000 91,932,000 84,757,000 47,416,000 54,719,000 41,085,000 34,182,000 21,821,000 19,223,000           
        loans held for sale
      172,744,000 152,426,000 212,921,000 208,460,000 165,487,000 159,587,000 233,550,000 192,622,000 199,604,000 256,339,000 306,364,000 23,693,000 35,759,000 42,762,000 51,643,000 43,447,000 42,539,000 41,921,000 42,439,000 44,321,000 21,985,000 22,246,000 30,169,000 15,748,000 4,913,000 5,921,000 3,584,000 1,482,000 1,891,000 726,000 545,000 
        prepaid expenses
      31,229,000 26,853,000 30,531,000 28,002,000 37,695,000 33,296,000 26,042,000 33,784,000 34,506,000 27,361,000 30,775,000 26,836,000 22,948,000 19,155,000 18,028,000 15,224,000 12,131,000 7,698,000 7,624,000 9,555,000 14,822,000 8,391,000 6,763,000  11,916,000 5,933,000 3,337,000 4,761,000 8,613,000 4,472,000 2,546,000 
        other current assets
      31,354,000 22,457,000 20,514,000 9,872,000 11,867,000 7,472,000 9,979,000 14,918,000 8,690,000 26,738,000 18,378,000 6,748,000 7,524,000 8,537,000 7,152,000 7,014,000 4,898,000 5,189,000 4,555,000 5,243,000 3,496,000 5,763,000 5,860,000  2,307,000 989,000 1,828,000 7,427,000 3,710,000 5,623,000 2,298,000 
        total current assets
      458,724,000 375,438,000 504,771,000 524,424,000 378,291,000 445,045,000 560,498,000 593,038,000 776,458,000 1,222,044,000 1,309,824,000 1,099,231,000 1,246,064,000 1,263,354,000 1,227,870,000 1,694,360,000 1,240,826,000 638,661,000 586,747,000 457,350,000 451,593,000 447,566,000 461,734,000 489,982,000 496,247,000 512,194,000 253,815,000 227,660,000 240,206,000 247,952,000 87,460,000 
        property and equipment
      38,220,000 41,302,000 43,312,000 45,303,000 46,118,000 46,431,000 49,241,000 52,551,000 55,105,000 59,238,000 59,709,000 60,836,000 58,671,000 55,535,000 53,907,000 47,649,000 43,988,000 42,210,000 41,414,000 40,496,000 39,577,000 37,560,000 35,675,000 30,618,000 25,187,000 23,361,000 23,855,000 22,879,000 22,318,000 21,600,000 22,137,000 
        right-of-use assets
      22,536,000 23,713,000 26,275,000 28,389,000 29,476,000 31,763,000 37,270,000 38,932,000 42,032,000 45,647,000 54,321,000 51,417,000 54,200,000 55,757,000 58,144,000 47,932,000 44,149,000 45,392,000 47,697,000 49,972,000 52,004,000 45,513,000          
        mortgage servicing rights, at fair value
      2,614,000 2,736,000 2,534,000 2,695,000 32,328,000 32,171,000 35,503,000 35,061,000 36,261,000 36,914,000 35,050,000                     
        goodwill
      461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 461,349,000 409,382,000 409,382,000 407,228,000 407,228,000          9,186,000 9,186,000 9,186,000 9,186,000 9,186,000 9,186,000 9,186,000 
        intangible assets
      46,660,000 99,543,000 104,127,000 108,832,000 113,537,000 123,284,000 142,778,000 152,525,000 162,272,000 172,019,000 181,766,000 177,003,000 185,929,000            2,806,000 2,928,000 3,050,000 3,172,000 3,294,000 3,416,000 3,538,000 
        contract asset, noncurrent
      38,180,000                               
        other assets, noncurrent
      7,896,000 8,376,000 8,705,000 10,492,000 10,008,000 10,456,000 11,493,000 11,413,000 11,247,000 12,054,000 12,720,000 13,090,000 12,898,000 13,129,000 14,059,000 8,836,000 8,619,000               
        total assets
      1,076,179,000 1,012,457,000 1,151,073,000 1,181,484,000 1,071,107,000 1,153,648,000 1,303,605,000 1,354,441,000 1,574,204,000 2,050,942,000 2,167,728,000 1,867,153,000 2,021,972,000 2,043,347,000 2,001,075,000 1,816,577,000 1,360,520,000 763,249,000 715,340,000 594,834,000 596,213,000 591,985,000 599,568,000 574,610,000 542,821,000 554,917,000      
        liabilities and stockholders' deficit
                                     
        current liabilities
                                     
        accounts payable
      20,113,000 16,847,000 14,280,000 11,612,000 15,909,000 10,507,000 14,661,000 10,154,000 11,819,000 12,422,000 20,237,000 22,693,000 12,546,000 10,075,000 26,095,000 15,568,000 5,644,000 3,375,000 3,389,000 2,909,000 2,122,000 3,173,000 4,217,000 17,533,000 2,516,000 2,601,000 3,855,000 2,929,000 1,901,000 3,343,000 3,081,000 
        accrued and other liabilities
      118,726,000 82,709,000 101,040,000 125,082,000 97,331,000 90,360,000 102,568,000 92,275,000 109,743,000 133,885,000 161,803,000 103,449,000 118,122,000                   
        warehouse credit facilities
      170,212,000 146,629,000 208,817,000 202,559,000 156,588,000 151,964,000 227,801,000 185,283,000 190,509,000 252,529,000 298,303,000 22,285,000 33,043,000 39,825,000 46,425,000 40,663,000 39,029,000 40,308,000 40,566,000 42,586,000 21,302,000   15,193,000 4,733,000       
        convertible senior notes
      73,593,000 73,516,000     23,506,000 23,468,000 23,431,000 23,393,000   23,280,000 23,243,000 23,428,000 23,428,000 22,482,000 124,495,000 122,884,000 121,292,000 119,716,000 118,158,000 116,617,000 115,094,000 113,586,000 112,130,000      
        lease liabilities
      12,749,000 12,862,000 13,347,000 14,123,000 14,710,000 15,609,000 16,234,000 18,015,000 19,137,000 21,094,000 18,180,000 15,070,000 15,040,000 14,793,000 14,633,000 12,611,000 11,973,000               
        total current liabilities
      395,393,000 332,563,000 337,484,000 353,376,000 284,538,000 268,440,000 384,814,000 329,195,000 354,639,000 645,739,000 655,063,000 300,366,000 401,812,000 406,356,000 354,063,000 235,992,000 185,721,000 262,850,000 139,365,000 136,102,000 85,182,000 93,047,000 118,072,000 103,600,000 46,218,000 59,781,000 60,559,000 50,360,000 35,857,000 45,212,000 46,557,000 
        lease liabilities, noncurrent
      18,487,000 19,855,000 22,853,000 25,193,000 26,730,000 29,084,000 34,383,000 35,757,000 37,298,000 39,803,000 50,920,000 51,719,000 55,222,000 57,759,000                  
        convertible senior notes, net, noncurrent
      499,181,000 498,691,000 571,644,000 571,077,000 641,209,000 688,737,000 834,716,000 928,651,000 1,078,157,000 1,217,768,000 1,239,873,000 1,238,585,000 1,214,017,000 1,212,767,000 1,211,517,000 1,136,974,000 488,268,000               
        term loan
      243,003,000 243,344,000 243,646,000 243,961,000 124,123,000 124,416,000                          
        deferred revenue, noncurrent
      77,321,000                               
        deferred tax liabilities
      780,000 672,000 647,000 642,000 287,000 264,000 255,000 249,000 243,000 344,000 728,000 981,000 1,201,000 883,000 1,254,000                 
        total liabilities
      1,234,165,000 1,095,125,000 1,176,274,000 1,194,249,000 1,076,887,000 1,110,941,000 1,254,168,000 1,293,852,000 1,470,337,000 1,903,654,000 1,946,584,000 1,591,651,000 1,672,252,000 1,685,606,000 1,635,633,000 1,433,111,000 730,140,000 323,158,000 320,279,000 314,648,000 264,767,000 264,264,000 287,323,000 260,261,000 170,883,000 182,169,000 71,370,000 60,695,000 46,525,000 55,577,000 57,030,000 
        commitments and contingencies
                                     
        stockholders’ deficit
                                     
        common stock—par value 0.001 per share...
      128,000 126,000 124,000 122,000 119,000 117,000 114,000 110,000 110,000 109,000 108,000 107,000 106,000 105,000 105,000 104,000 103,000 100,000 99,000 94,000 93,000 92,000 92,000 91,000 90,000 89,000 84,000 83,000 81,000 81,000 15,000 
        additional paid-in capital
      922,728,000 905,506,000 886,592,000 865,263,000 844,383,000 826,146,000 791,302,000 775,094,000 757,951,000 739,689,000 723,251,000 699,225,000 682,084,000 662,894,000 651,627,000 641,702,000 860,556,000 684,219,000 673,234,000 591,421,000 583,097,000 571,607,000 562,894,000 552,418,000 542,829,000 531,418,000 387,764,000 374,614,000 364,352,000 360,631,000  
        accumulated other comprehensive loss
      -189,000 -166,000 -140,000 -144,000 -145,000 -182,000 -452,000 -435,000 -801,000 -1,051,000 -990,000 -739,000                    
        accumulated deficit
      -1,080,653,000 -988,134,000 -951,769,000 -917,987,000 -890,107,000 -823,333,000 -781,463,000 -754,105,000 -693,307,000 -631,361,000 -541,116,000 -462,970,000 -372,164,000 -345,162,000 -326,213,000 -298,335,000 -270,313,000 -284,348,000 -318,514,000 -311,904,000 -251,786,000 -244,004,000 -250,785,000 -238,160,000 -170,981,000 -158,759,000 -162,235,000 -165,442,000 -129,003,000 -127,204,000 -716,733,000 
        total stockholders’ deficit
      -157,986,000                               
        total liabilities and stockholders’ deficit
      1,076,179,000                               
        short-term investments
           41,952,000 100,643,000 140,531,000 122,259,000 110,316,000 82,506,000 95,458,000 33,737,000 28,578,000 29,605,000 140,843,000 131,561,000 129,809,000 128,056,000 75,049,000 70,029,000 62,054,000 35,365,000       1,258,000 1,504,000 
        long-term investments
           3,149,000 5,473,000 9,572,000 29,480,000 41,677,000 52,989,000 56,194,000 54,828,000 53,488,000 36,085,000 6,906,000 11,922,000 17,072,000 18,792,000 26,711,000 30,978,000 38,480,000 34,954,000         
        liabilities, mezzanine equity, and stockholders' (deficit) equity
                                     
        series a convertible preferred stock—par value 0.001 per share...
        39,992,000 39,981,000 39,970,000 39,959,000 39,936,000 39,925,000 39,914,000 39,902,000 39,891,000 39,879,000 39,868,000 39,857,000 39,846,000 39,834,000 39,823,000 39,812,000 39,801,000             
        stockholders’ (deficit) equity
                                     
        total stockholders’ (deficit) equity
       -82,668,000 -65,193,000 -52,746,000 -45,750,000                           
        total liabilities, mezzanine equity, and stockholders’ (deficit) equity
       1,012,457,000 1,151,073,000 1,181,484,000 1,071,107,000                           
        current assets of discontinued operations
            1,378,000                         
        noncurrent assets of discontinued operations
                                     
        liabilities, mezzanine equity, and stockholders' equity
                                     
        current liabilities of discontinued operations
            44,000                         
        noncurrent liabilities of discontinued operations
                                     
        stockholders’ equity
                                     
        total stockholders’ equity
           2,748,000 9,501,000 20,664,000 63,953,000 107,386,000 181,253,000 235,623,000 309,852,000 317,884,000 325,596,000 343,632,000 590,557,000 400,279,000 355,260,000 280,186,000 331,446,000 327,721,000 312,245,000 314,349,000 371,938,000 372,748,000 225,613,000 209,255,000   -716,718,000 
        total liabilities, mezzanine equity, and stockholders’ equity
           1,153,648,000 1,303,605,000 1,354,441,000 1,574,204,000 2,050,942,000 2,167,728,000 1,867,153,000 2,021,972,000 2,043,347,000 2,001,075,000                 
        inventory
             10,685,000 114,273,000 301,231,000 377,518,000 245,487,000 358,221,000 435,144,000 249,003,000 97,371,000 49,158,000 24,993,000 9,437,000 70,649,000 74,590,000 105,460,000 85,654,000 38,306,000 22,694,000 25,161,000 14,519,000     
        secured revolving credit facility
               202,416,000 156,540,000 136,869,000 199,781,000 199,627,000 123,770,000 48,851,000 23,949,000 14,923,000 7,215,000 8,901,000 4,444,000           
        payroll tax liabilities, noncurrent
                   7,841,000 7,841,000 6,812,000 6,812,000               
        accumulated other comprehensive income
                  -174,000 47,000 77,000 161,000 211,000 308,000 441,000 575,000 42,000 26,000 44,000         
        intangibles
                   194,856,000 203,782,000                 
        accrued liabilities
                   102,027,000 102,345,000 75,754,000 69,460,000 57,517,000 48,967,000 58,456,000 37,979,000 50,867,000 57,423,000 54,064,000 30,837,000 37,532,000 34,045,000 33,866,000 26,605,000 30,202,000 30,248,000 
        other payables
                   16,766,000 17,367,000 19,117,000 13,184,000 10,550,000 27,614,000 11,717,000 7,884,000 7,157,000 18,250,000 10,374,000 6,544,000 12,167,000 17,700,000 10,876,000 4,068,000 9,858,000 11,607,000 
        lease liabilities and deposits, noncurrent
                    60,958,000 53,333,000 49,339,000               
        goodwill and intangibles
                     10,894,000 11,016,000 11,138,000 11,260,000 11,382,000 11,504,000 11,626,000 11,748,000 11,870,000        
        liabilities, mezzanine equity and stockholders' equity
                                     
        total liabilities, mezzanine equity and stockholders’ equity
                     1,816,577,000 1,360,520,000 763,249,000 715,340,000             
        other non-current assets
                       8,776,000 9,430,000 8,923,000 10,557,000 11,240,000 10,627,000 9,403,000        
        current lease liabilities
                       11,682,000 11,614,000 11,533,000 11,408,000           
        non-current lease liabilities and deposits
                       51,597,000              
        non-current payroll tax liabilities
                       8,711,000 3,668,000             
        non-current lease liabilities
                        54,362,000 57,254,000 59,869,000           
        liabilities and stockholders' equity
                                     
        total liabilities and stockholders’ equity
                         594,834,000 596,213,000 591,985,000 599,568,000 574,610,000 542,821,000 554,917,000      
        current portion of deferred rent
                          43,000 132,000 36,000 68,000 1,588,000 1,691,000 1,467,000 1,332,000 1,267,000 1,104,000 1,092,000 
        deferred rent
                                     
        accrued revenue
                           24,434,000 38,686,000 16,253,000 15,363,000 13,254,000 18,902,000 12,093,000 13,334,000   
        borrowings under warehouse credit facilities
                           21,987,000 29,427,000         
        current operating lease liabilities
                           9,731,000 8,719,000 6,368,000        
        non-current operating lease liabilities
                           53,059,000 52,634,000 41,567,000        
        right of use assets
                            44,830,000 32,737,000        
        prepaid expenses and other current assets
                             13,586,000        
        other assets
                              9,395,000 7,248,000 7,077,000 7,053,000 6,951,000 6,931,000 6,798,000 
        deferred rent, net of current portion
                              11,079,000 10,258,000 10,811,000 10,335,000 10,668,000 10,365,000 10,473,000 
        stockholders’ equity/
                                     
        preferred stock—par value 0.001 per share...
                                     
        assets:
                                     
        current assets:
                                     
        liabilities and stockholders' equity:
                                     
        current liabilities:
                                     
        loan facility
                               5,790,000 3,492,000 1,357,000 2,016,000 705,000 529,000 
        stockholders’ equity:
                                     
        total assets:
                                296,983,000 269,950,000 281,955,000 289,085,000 131,418,000 
        total liabilities and stockholders’ equity:
                                296,983,000 269,950,000    
        deferred offering costs
                                    2,299,000 
        liabilities, redeemable convertible preferred stock and stockholders' equity/
                                     
        redeemable convertible preferred stock—par value 0.001 per share...
                                    791,106,000 
        total stockholders’ equity/
                                  235,430,000 233,508,000  
        total liabilities, redeemable convertible preferred stock and stockholders’ equity/
                                  281,955,000 289,085,000  
        accrued revenue, net of allowance for doubtful accounts of 150 and 147 at december 31, 2016 and september 30, 2017, respectively
                                   13,336,000  
        accrued revenue, net of allowance for doubtful accounts of 150 at december 31, 2016 and june 30, 2017
                                    14,509,000 
        liabilities, redeemable convertible preferred stock and stockholders' equity
                                     
        total liabilities, redeemable convertible preferred stock and stockholders’ equity:
                                    131,418,000 
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 
                                     
          operating activities
                                     
          net income
        -92,519,000 -36,365,000 -33,782,000 -27,880,000 -66,774,000 -27,358,000 -60,798,000 -61,946,000 -90,245,000 -78,146,000 -90,806,000 -27,002,000 -18,949,000 -27,878,000 -35,784,000 14,035,000 34,166,000 -6,611,000 -60,117,000 -7,782,000 6,781,000 -12,624,000 -67,180,000 -12,222,000 3,476,000 3,207,000 -36,439,000 -1,799,000 10,559,000 
          adjustments to reconcile net income to net cash from operating activities:
                                     
          depreciation and amortization
        8,309,000 9,428,000 9,485,000 9,457,000 14,398,000 17,133,000 17,013,000 17,469,000 16,298,000 16,327,000 14,813,000 14,603,000 14,285,000 13,677,000 4,341,000 3,983,000 3,716,000 3,558,000 3,307,000 2,864,000 2,557,000 2,172,000 1,637,000 2,342,000 2,221,000 1,899,000 2,003,000 1,850,000 1,787,000 
          stock-based compensation
        15,362,000 17,217,000 18,302,000 18,231,000 17,409,000 17,554,000 19,028,000 16,585,000 18,071,000 16,813,000 16,788,000 15,284,000 13,111,000 13,744,000 12,583,000 11,209,000 11,348,000 7,205,000 7,211,000 8,022,000 7,510,000 5,876,000 6,406,000 5,966,000 5,498,000 4,778,000 4,196,000   
          contract asset amortization
        1,323,000                             
          amortization of debt discount and issuance costs
        851,000 836,000 908,000 663,000 709,000 942,000 1,087,000 1,779,000 1,459,000 1,459,000 1,440,000 1,406,000 1,380,000 1,348,000 855,000 6,784,000 1,777,000 1,747,000 1,730,000 1,711,000 1,643,000 1,524,000 1,507,000 1,456,000      
          non-cash lease expense
        2,615,000 2,769,000 2,882,000 3,010,000 3,154,000 4,762,000 4,816,000 4,921,000 4,217,000 3,927,000 3,169,000 3,120,000 3,062,000 2,915,000 2,533,000 2,383,000 2,299,000 2,268,000 2,254,000 2,213,000 1,784,000 1,727,000 1,216,000       
          net gain on irlcs, forward sales commitments, and loans held for sale
        -3,042,000  387,000 1,928,000 -4,124,000      60,000 473,000 104,000                 
          change in fair value of mortgage servicing rights
        116,000 -150,000 202,000 -579,000 -365,000 -609,000 1,208,000 671,000 -594,000                     
          gain on extinguishment of convertible senior notes
         -6,314,000 -5,686,000 -20,083,000 -42,270,000                       
          other
        4,600,000 96,000 168,000 117,000 263,000 -620,000 -1,174,000 537,000 84,000 880,000 2,290,000 -380,000 -4,016,000 60,000 109,000 344,000 497,000 -201,000 -989,000 -262,000 -301,000         
          change in assets and liabilities:
                                     
          accounts receivable
        8,999,000 26,241,000 551,000 -20,683,000 -3,245,000 -20,807,000 6,738,000 41,463,000 -10,261,000 -24,103,000 17,312,000 22,338,000 -7,175,000 -29,615,000 7,303,000 -13,634,000 -6,903,000 -12,361,000 -2,598,000           
          prepaid expenses and other assets
        -1,620,000 1,912,000 -12,241,000 6,818,000 -4,718,000 7,758,000 1,110,000 -3,183,000 131,000 -870,000 -1,982,000 -2,716,000 -2,395,000 -3,778,000 -3,359,000 -2,835,000 -278,000 2,037,000 3,409,000 -3,457,000 -1,312,000         
          accounts payable
        3,263,000 2,569,000 2,667,000 -4,297,000 5,432,000 4,487,000 -1,675,000 -597,000 -7,839,000 -3,912,000 9,876,000 2,443,000 -15,150,000 9,819,000 5,947,000 1,235,000 -189,000 526,000 514,000 -973,000 -771,000 -13,498,000 14,848,000 -85,000 -1,232,000 905,000 1,029,000 -1,479,000 326,000 
          accrued and other liabilities and deferred tax liabilities
        14,537,000                             
          deferred revenue
        97,321,000                             
          lease liabilities
        -3,384,000 -3,689,000 -3,877,000 -4,027,000 -4,089,000 -6,171,000 -4,619,000 -6,017,000 -4,393,000 -4,400,000 -3,642,000 -3,624,000 -3,500,000 -3,193,000 -2,951,000 -2,944,000 -2,887,000 -2,788,000 -2,693,000           
          origination of mortgage servicing rights
        -44,000 -85,000 -86,000 -23,000 -61,000 -232,000 -347,000 -366,000 -1,810,000                     
          proceeds from sale of mortgage servicing rights
        50,000 33,000 46,000 30,234,000 269,000 399,000 339,000 348,000 540,000                     
          origination of loans held for sale
        -774,556,000 -908,474,000 -1,082,051,000 -1,160,819,000 -828,421,000 -1,068,605,000 -854,085,000 -858,343,000 -1,449,722,000 -1,482,191,000 -159,186,000 -241,279,000 -257,429,000 -261,184,000 -227,090,000 -198,157,000 -185,077,000 -161,379,000 -132,697,000 -110,456,000 -131,847,000 -103,485,000 -49,850,000 -29,866,000 -26,908,000 -19,772,000 -9,477,000 -5,253,000 -2,733,000 
          proceeds from sale of loans originated as held for sale
        755,697,000 966,784,000 1,077,909,000 1,119,011,000 821,714,000 1,026,935,000 861,771,000 917,724,000 1,495,099,000 1,417,182,000 170,577,000 248,184,000 266,234,000 253,512,000 225,140,000 198,158,000 185,010,000 163,362,000 111,233,000 110,716,000 139,770,000 89,065,000 39,015,000 30,874,000 24,572,000 17,668,000 9,887,000  2,553,000 
          net cash from operating activities
        37,878,000 63,739,000 -42,118,000 -7,948,000 -45,980,000 -37,819,000 26,704,000 188,980,000 20,011,000 -247,501,000 79,001,000 112,553,000 -200,483,000 -162,873,000 -50,765,000 9,732,000 42,791,000 52,193,000 -43,449,000 25,028,000 10,971,000 -96,452,000 -47,157,000 -15,894,000 5,433,000 -5,749,000 -20,492,000 -5,196,000 10,922,000 
          capital expenditures
        -3,234,000 -2,225,000 -2,189,000 -3,237,000 -3,558,000 -3,294,000 -2,919,000 -4,035,000 -5,365,000 -4,689,000 -7,442,000 -6,917,000 -6,995,000 -8,295,000 -5,285,000 -4,295,000 -4,319,000 -2,666,000 -3,406,000 -2,712,000 -3,317,000 -6,353,000 -3,151,000 -2,775,000 -1,483,000 -1,740,000 -2,305,000 -1,614,000 -1,064,000 
          free cash flows
        34,644,000 61,514,000 -44,307,000 -11,185,000 -49,538,000 -41,113,000 23,785,000 184,945,000 14,646,000 -252,190,000 71,559,000 105,636,000 -207,478,000 -171,168,000 -56,050,000 5,437,000 38,472,000 49,527,000 -46,855,000 22,316,000 7,654,000 -102,805,000 -50,308,000 -18,669,000 3,950,000 -7,489,000 -22,797,000 -6,810,000 9,858,000 
          investing activities
                                     
          purchases of property and equipment
        -3,234,000 -2,225,000 -2,189,000 -3,237,000 -3,558,000 -3,294,000 -2,919,000 -4,035,000 -5,365,000 -4,689,000 -7,442,000 -6,917,000 -6,995,000 -8,295,000 -5,285,000 -4,295,000 -4,319,000 -2,666,000 -3,406,000 -2,712,000 -3,317,000 -6,353,000 -3,151,000 -2,775,000 -1,483,000 -1,740,000 -2,305,000 -1,614,000 -1,064,000 
          sales of investments
         39,225,000 53,085,000 12,014,000 4,599,000 7,600,000 5,346,000 9,151,000   1,304,000 3,400,000 -28,425,000 31,608,000 10,481,000 905,000         
          maturities of investments
         6,395,000 10,900,000 48,483,000 33,400,000 46,630,000 12,925,000 6,500,000 10,470,000 3,460,000 29,254,000 63,589,000 65,080,000 42,421,000 38,754,000 1,597,000 19,500,000          
          net cash from investing activities
        -3,234,000 -2,225,000 -2,189,000 -3,237,000 42,062,000 41,381,000 22,000 -3,229,000 -21,824,000 -86,093,000 -73,192,000 -13,444,000 -18,784,000 -534,505,000 -9,573,000 -965,000 -4,892,000 -47,794,000 -3,468,000 -2,933,000 -33,263,000 -76,565,000 -3,151,000 -4,775,000 -1,483,000 -1,740,000 -2,305,000 -356,000 -820,000 
          financing activities
                                     
          proceeds from the issuance of common stock pursuant to employee equity plans
        1,835,000 1,801,000 2,599,000 2,064,000 94,000 5,522,000 143,000 1,849,000 421,000 7,371,000 1,887,000 8,578,000 1,698,000 9,085,000 3,411,000               
          tax payments related to net share settlements on restricted stock units
        -721,000 -710,000 -634,000 -411,000 -529,000 -7,935,000 -3,161,000 -848,000 -2,907,000 -1,148,000 -2,595,000 -5,978,000 -4,558,000 -5,670,000 -10,860,000 -5,865,000 -4,922,000 -2,758,000 -3,307,000 -2,270,000 -1,064,000         
          borrowings from warehouse credit facilities
        783,547,000 928,730,000 1,100,357,000 1,160,636,000 827,186,000 1,067,499,000 852,988,000 857,659,000 1,451,922,000 1,476,298,000 152,386,000 232,458,000 246,285,000 247,868,000 216,382,000 188,995,000 182,392,000 159,581,000 131,310,000 108,457,000 130,229,000 101,343,000 48,557,000 29,036,000 26,255,000 19,286,000 9,265,000 5,143,000 2,671,000 
          repayments to warehouse credit facilities
        -759,963,000 -990,919,000 -1,094,099,000 -1,114,665,000 -822,562,000 -1,024,982,000 -858,214,000 -919,679,000 -1,497,695,000 -1,408,889,000 -163,144,000 -239,240,000 -252,885,000 -242,107,000 -214,747,000 -190,274,000 -182,650,000 -161,602,000 -110,025,000           
          principal payments under finance lease obligations
         -10,000 -19,000 -27,000 -13,000 -40,000 -175,000 -266,000 -197,000 -217,000 -229,000 -214,000 -286,000 -67,000               
          repurchases of convertible senior notes
         -64,428,000 -42,525,000 -74,745,000 -108,274,000                       
          repayment of term loan principal
        -625,000 -625,000 -625,000 -625,000 -313,000                         
          net cash from financing activities
        24,073,000 -102,350,000 7,569,000 105,349,000 -38,676,000 -34,654,000 -116,558,000 -347,192,000 -2,649,000 93,106,000 -75,359,000 -18,071,000 68,834,000 142,016,000 457,562,000 549,074,000 -10,393,000 125,340,000 30,206,000 6,131,000 -17,717,000 26,127,000 17,342,000 -1,212,000 245,341,000 17,237,000 12,036,000 1,959,000 148,124,000 
          effect of exchange rate changes on cash, cash equivalents, and restricted cash
        -23,000 -26,000 4,000 1,000 -3,000 -58,000 -29,000 -23,000 -38,000 -4,000 -3,000                  
          net change in cash, cash equivalents, and restricted cash
        58,694,000 -40,862,000 -36,734,000 94,165,000 -42,597,000 -31,092,000 -89,890,000 -161,470,000 -4,485,000 -240,526,000 -69,554,000 81,035,000 -150,436,000 -555,363,000 397,225,000 557,854,000 27,512,000 129,742,000 -16,736,000 28,230,000 -40,019,000 -146,852,000 -32,966,000 -21,881,000 249,291,000     
          cash, cash equivalents, and restricted cash:
                                     
          beginning of period
        124,972,000 151,000,000 242,246,000 718,281,000 945,820,000 247,448,000 439,055,000 212,658,000 3,815,000 
          end of period
        183,666,000 -40,862,000 -36,734,000 94,165,000 108,403,000 -31,092,000 152,356,000 -161,470,000 -4,485,000 -240,526,000 648,727,000 81,035,000 -150,436,000 -555,363,000 1,343,045,000 557,854,000 27,512,000 129,742,000 230,712,000 28,230,000 -40,019,000 -146,852,000 406,089,000 -21,881,000 249,291,000 9,748,000 201,897,000 222,000 158,226,000 
          supplemental disclosure of cash flow information
                                     
          cash paid for interest
        8,553,000 11,182,000 11,522,000 6,339,000 7,078,000 3,761,000 4,609,000 7,220,000 6,306,000 3,204,000 3,377,000 2,053,000 3,501,000 1,065,000 973,000 1,957,000 868,000 551,000 1,582,000 1,258,000 1,202,000       
          non-cash transactions
                                     
          stock-based compensation capitalized in property and equipment
        747,000 975,000 1,064,000 998,000 1,265,000 1,070,000 1,134,000 677,000 930,000 919,000 1,134,000 1,314,000 1,028,000 985,000 732,000 634,000 563,000 647,000 504,000 -349,000 -370,000 -291,000 -270,000 -159,000 -119,000 -120,000 -124,000 -74,000 -63,000 
          leasehold improvements paid directly by lessor
        471,000       41,000   1,334,000    -1,932,000 -854,000 -5,407,000 1,963,000 -1,054,000   -718,000 
          recharacterization from intangible assets, net to other current assets and contract asset, noncurrent
        49,378,000                             
          impairment costs
             113,000 223,000        643,000 1,420,000           
          net (gain) loss on irlcs, forward sales commitments, and loans held for sale
             3,761,000 -8,326,000                       
          inventory
             10,644,000 103,588,000 186,958,000 76,287,000 -132,031,000 112,734,000 76,923,000 -186,141,000 -151,632,000 -48,213,000 -24,165,000 -15,556,000 61,212,000 3,941,000 30,870,000 -19,806,000 -47,348,000 -15,612,000 2,467,000      
          accrued and other liabilities, deferred tax liabilities, and payroll tax liabilities, noncurrent
         -17,173,000 -23,588,000 27,205,000 8,155,000 12,291,000 -16,813,000 -22,252,000 -29,731,000 19,971,000 -14,442,000                   
          purchases of investments
             -19,310,000 -57,556,000 -37,193,000 -63,089,000 -4,588,000 -77,596,000 -16,997,000 -24,400,000 -37,000,000 -67,877,000 -63,054,000 -46,394,000 -55,457,000 -33,267,000 -30,202,000 -35,751,000         
          cash paid for acquisition, net of cash, cash equivalents, and restricted cash acquired
                                    
          redemption of convertible preferred stock, net of issuance costs
                                     
          payment of dividends on convertible preferred stock
                                     
          borrowings from secured revolving credit facility
               13,283,000 226,026,000 169,226,000 156,799,000 193,111,000 201,109,000 159,431,000 71,177,000 32,241,000 17,791,000 27,733,000 11,854,000           
          repayments to secured revolving credit facility
               -215,698,000 -180,150,000 -149,555,000 -219,711,000 -192,957,000 -125,251,000 -84,513,000 -46,275,000 -23,216,000 -10,083,000 -29,418,000 -7,398,000           
          cash paid for secured revolving credit facility issuance costs
               31,000 -764,000 -42,000 -180,000 -305,000               
          repayments of convertible senior notes
                                     
          extinguishment of convertible senior notes associated with closing of term loan
                                     
          payments of debt issuance costs
         -260,000 -19,000                           
          proceeds from term loan
                                   
          property and equipment additions in accounts payable and accrued liabilities
           12,000 11,000 32,000 32,000 71,000 -41,000 -257,000 326,000   -1,335,000 2,348,000 709,000 -519,000 1,041,000 451,000  216,000 750,000 -1,370,000       
          proceeds from issuance of convertible senior notes, net of issuance costs
                   72,838,000 488,691,000               
          purchases of capped calls related to convertible senior notes
                   -8,167,000 -54,480,000               
          conversions of convertible senior notes
                                     
          other financing payables
                                     
          reconciliation of cash, cash equivalents, and restricted cash
                                     
          cash and cash equivalents
              149,940,000 -119,884,000 -20,198,000 -232,758,000 612,680,000                   
          restricted cash
              2,416,000 -41,586,000 15,713,000 -7,768,000 36,047,000                  1,746,000 
          total cash, cash equivalents, and restricted cash
              152,356,000 -161,470,000 -4,485,000 -240,526,000 648,727,000                   
          loss on conversions of convertible senior notes
                                     
          proceeds from the issuance of convertible preferred stock, net of issuance costs
                                   
          proceeds from the issuance of common stock, net of issuance costs
                                   
          issuance of common stock for repurchases and conversions of convertible senior notes
                                     
          net income on irlcs, forward sales commitments, and loans held for sale
                1,507,000                     
          payments for repurchases and conversions of convertible senior notes
                   -234,000 -39,000 -1,886,000               
          cash paid for acquisition, net of cash acquired
                                     
          loss on repurchases and conversions of convertible senior notes
                                     
          cash paid for acquisition
                                   
          property and equipment additions in accounts payable and accrued and other liabilities
                                     
          accrued liabilities, other payables, deferred tax liabilities, and payroll tax liabilities, noncurrent
                    -3,904,000                 
          other payables—deposits held in escrow
                    3,064,000 -6,424,000 6,521,000  -16,959,000 15,372,000 3,684,000           
          net gain on irlcs, forward sales commitments and loans held for sale
                      -1,052,000               
          accrued liabilities, other payables, and payroll tax liabilities, noncurrent
                      8,873,000               
          effect of exchange rate changes on cash and cash equivalents
                      1,000 13,000 6,000 3,000 -25,000 4,000 -10,000         
          deferred rent
                           -111,000 117,000 -74,000 69,000       
          other payables - deposits held in escrow
                           246,000 -10,965,000 7,634,000 3,968,000       
          accrued liabilities, other payables, and non-current payroll tax liabilities
                        14,225,000             
          proceeds from the issuance of shares resulting from employee equity plans
                        4,067,000 6,949,000 4,103,000 5,238,000          
          principal payments for finance lease obligations
                        -29,000 -15,000 -15,000           
          cash paid for debt issuance costs
                          -770,000          
          accrued liabilities and other payables
                          20,626,000 -11,535,000 -7,500,000         
          repayments of warehouse credit facilities
                           -109,142,000 -137,669,000 -87,109,000 -38,097,000 -30,094,000 -23,955,000 -17,152,000 -9,924,000 -3,832,000 -2,495,000 
          proceeds from issuance of convertible notes, net of issuance costs
                                     
          proceeds from initial public offering, net of underwriting discounts
                                    
          payment of initial public offering costs
                                   -109,000  
          proceeds from follow on offering
                                     
          conversion of redeemable convertible preferred stock to common stock
                                     
          accretion of redeemable convertible preferred stock
                                   -40,225,000 
          accrued revenue
                            14,252,000 -22,433,000 -890,000 -2,109,000 5,648,000 -6,809,000 1,241,000 3,000 1,173,000 
          operating lease liabilities
                            -1,906,000 -1,842,000 -1,459,000       
          adjustments to reconcile net income to net cash from operating activities
                                     
          change in assets and liabilities
                                     
          proceeds from the exercise of stock options
                             5,233,000 3,732,000       
          cash, cash equivalents, and restricted cash
                                     
          other assets
                              1,441,000       
          accrued liabilities
                              21,695,000 -6,752,000 3,462,000 233,000 7,248,000   
          tax payment related to net share settlements on restricted stock units
                              -818,000 -721,000 -478,000 -168,000 -59,000   
          prepaid expenses
                               -5,983,000 -2,597,000 1,425,000 3,852,000 -4,141,000 -1,926,000 
          other current assets
                               -1,402,000 894,000 2,191,000 -3,661,000 1,913,000 -3,325,000 
          other payables
                                    -1,749,000 
          deferred lease liability
                               -336,000 -330,000 -315,000 -268,000 -252,000 -96,000 
          sales and maturities of short-term investments
                                     
          purchases of short-term investments
                                   1,000 -1,000 
          proceeds from issuance of convertible senior notes
                                    
          proceeds from follow-on offering
                                    
          proceeds from exercise of stock options
                                  5,946,000 484,000 1,502,000 
          supplemental disclosure of non-cash investing and financing activities
                                     
          deferred initial public offering cost accruals
                                     
          property and equipment additions in accounts payable and accrued expenses
                               -57,000 -4,000 34,000 -55,000   
          operating activities:
                                     
          other long-term assets
                                -171,000 -22,000 -103,000 -21,000 -133,000 
          accrued expenses
                                   -3,398,000 32,000 
          investing activities:
                                     
          maturities and sales of short-term investments
                                     
          financing activities:
                                     
          proceeds from issuance of common stock
                                2,920,000     
          other payables - customer escrow deposits related to title services
                                -5,947,000 6,823,000 6,808,000   
          supplemental disclosure of non-cash investing and financing activities:
                                     
          initial public offering cost accruals
                                     
          cash in transit for exercised stock options
                                -55,000     
          inventories
                                     
          net change in cash and cash equivalents, and restricted cash
                                  -10,761,000   
          cash-in-transit for exercised stock options
                                  -56,000   
          stock-based compensation.
                                     
          proceeds from sale of loans held for sale
                                     
          issuance costs of redeemable convertible preferred stock
                                     
          proceeds from tender offer
                                     
          in-substance dividend paid in relation to tender offer
                                     
          net change in cash and cash equivalents
                                    158,226,000 
          cash and cash equivalents:
                                     
          maturities of short-term investments
                                     
          payment of deferred initial public offering costs