7Baggers

Natera, Inc
(NASDAQ:NTRA) 

NTRA stock logo

Natera, Inc., a diagnostics company, develops and commercializes molecular testing services worldwide. It offers Panorama, a non-invasive prenatal test that screens for chromosomal abnormalities of a fetus with a blood draw from the mother, as well as twin pregnancies for zygosity; Vistara, a single...

Founded: 2004
Full Time Employees: 1,039
Sector: Healthcare
Industry: Diagnostics & Research

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-03-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 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 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 
                                               
      revenues
                                               
      product revenues
    693,868,000 590,197,000 544,427,000 500,036,000 472,911,000 436,127,000 411,364,000 364,672,000 307,251,000 265,218,000 258,256,000 237,797,000 212,892,000 199,831,000 194,582,000 190,002,000 160,884,000 150,651,000 137,232,000 118,382,000 106,465,000 93,286,000 80,414,000 87,046,000 74,482,000 66,936,000 65,099,000 63,364,000 63,082,000 62,662,000 60,353,000 54,269,000 51,969,000 55,331,000 52,276,000 45,913,000 48,511,000 53,090,000 51,231,000 61,136,000 52,327,000 44,423,000 44,519,000 
      yoy
    46.72% 35.33% 32.35% 37.12% 53.92% 64.44% 59.29% 53.35% 44.32% 32.72% 32.72% 25.15% 32.33% 32.64% 41.79% 60.50% 51.11% 61.49% 70.66% 36.00% 42.94% 39.37% 23.53% 37.37% 18.07% 6.82% 7.86% 16.76% 21.38% 13.25% 15.45% 18.20% 7.13% 4.22% 2.04% -24.90% -7.29% 19.51% 15.08%     
      qoq
    17.57% 8.41% 8.88% 5.74% 8.43% 6.02% 12.80% 18.69% 15.85% 2.70% 8.60% 11.70% 6.54% 2.70% 2.41% 18.10% 6.79% 9.78% 15.92% 11.19% 14.13% 16.01% -7.62% 16.87% 11.27% 2.82% 2.74% 0.45% 0.67% 3.83% 11.21% 4.43% -6.08% 5.84% 13.86% -5.36% -8.62% 3.63% -16.20% 16.83% 17.79% -0.22%  
      licensing and other revenues
    2,776,000 1,986,000 2,173,000 1,794,000 3,150,000 3,631,000 1,987,000 3,069,000 3,854,000 3,088,000 3,148,000 3,959,000 4,360,000 10,806,000 3,618,000 4,131,000 12,144,000 7,465,000 4,794,000 33,934,000 5,913,000 4,857,000 6,058,000 6,966,000 8,758,000 10,973,000 9,256,000 3,460,000 3,883,000 2,618,000 2,716,000 8,071,000 1,796,000 1,325,000 1,341,000 988,000        
      total revenues
    696,644,000 592,183,000 546,600,000 501,830,000 476,061,000 439,758,000 413,351,000 367,741,000 311,105,000 268,306,000 261,404,000 241,756,000 217,252,000 210,637,000 198,200,000 194,133,000 173,028,000 158,116,000 142,026,000 152,316,000 112,378,000 98,143,000 86,472,000 94,012,000 83,240,000 77,909,000 74,355,000 66,824,000 66,965,000 65,280,000 63,069,000 62,340,000 53,765,000 56,656,000 53,617,000 46,901,000 49,299,000 53,889,000 51,984,000 61,902,000 52,911,000 44,921,000 45,087,000 
      cost and expenses
                                               
      cost of product revenues
    245,203,000 207,253,000 199,531,000 184,613,000 175,964,000 167,657,000 169,850,000 158,833,000 151,040,000 146,962,000 142,808,000 147,754,000 126,770,000 115,436,000 108,756,000 102,670,000 91,276,000 76,838,000 73,227,000 61,322,000 54,741,000 46,873,000 42,731,000 41,520,000 39,479,000 40,138,000 41,382,000 41,605,000 40,345,000 39,477,000 39,204,000 39,055,000 35,153,000 33,558,000 33,709,000 33,088,000 24,393,500 34,261,000 30,973,000 32,340,000 31,813,000 30,456,000 25,732,000 
      cost of licensing and other revenues
    608,000 548,000 465,000 452,000 459,000 354,000 329,000 307,000 207,000 349,000 341,000 370,000 522,000 1,076,000 481,000 545,000 2,846,000 4,533,000 2,885,000 5,491,000 5,141,000 4,948,000 4,208,000 3,458,000 4,983,000 3,742,000 2,443,000 1,698,000 2,444,000 2,202,000 1,791,000 1,537,000 1,572,000 1,054,000 850,000 612,000        
      research and development
    210,702,000 173,412,000 146,427,000 129,078,000 129,461,000 96,931,000 89,109,000 88,637,000 82,964,000 77,235,000 78,173,000 82,306,000 87,911,000 65,510,000 82,580,000 80,414,000 71,811,000 98,457,000 53,752,000 40,188,000 32,384,000 26,421,000 23,005,000 18,225,000 15,002,000 12,796,000 12,124,000 11,435,000 12,770,000 12,393,000 11,852,000 14,340,000 13,019,000 12,609,000 11,786,000 12,650,000 11,459,000 11,345,000 10,299,000 8,759,000 8,004,000 7,336,000 6,741,000 
      selling, general and administrative
    327,938,000 308,546,000 310,549,000 266,864,000 234,917,000 214,154,000 197,965,000 194,278,000 161,430,000 154,742,000 152,508,000 149,627,000 143,822,000 147,667,000 149,468,000 147,634,000 146,761,000 128,485,000 127,456,000 108,332,000 94,080,000 75,678,000 68,188,000 65,681,000 58,587,000 56,715,000 47,042,000 43,832,000 41,133,000 38,374,000 37,440,000 37,925,000 48,937,000 34,478,000 34,309,000 37,582,000 37,553,000 34,938,000 33,227,000 30,408,000 30,442,000 27,870,000 28,086,000 
      amortization of acquired intangible assets
    5,709,000                                           
      total cost and expenses
    790,160,000 689,759,000 656,972,000 581,007,000 540,801,000 479,096,000 457,253,000 442,055,000 395,641,000 379,288,000 373,830,000 380,057,000 359,025,000 329,689,000 341,285,000 331,263,000 312,694,000 308,313,000 257,320,000 215,333,000 186,346,000 153,920,000 138,132,000 128,884,000 118,051,000 99,003,000 102,991,000 98,570,000 96,692,000 92,446,000 90,287,000 92,857,000 98,681,000 81,699,000 80,654,000 83,932,000 87,012,000 80,544,000 74,499,000 71,507,000 70,259,000 65,662,000 60,559,000 
      income from operations
    -93,516,000 -97,576,000 -110,372,000 -79,177,000 -64,740,000 -39,338,000 -43,902,000 -74,314,000 -84,536,000 -110,982,000 -112,426,000 -138,301,000 -141,773,000 -119,052,000 -143,085,000 -137,130,000 -139,666,000 -150,197,000 -115,294,000 -63,017,000 -73,968,000 -55,777,000 -51,660,000 -34,872,000 -20,369,000 -21,094,000 -28,636,000 -31,746,000 -21,225,250 -27,166,000 -27,218,000 -30,517,000 -22,277,750 -25,043,000 -27,037,000 -37,031,000 -37,713,000 -26,655,000 -22,515,000 -9,605,000   -15,472,000 
      yoy
    44.45% 148.05% 151.41% 6.54% -23.42% -64.55% -60.95% -46.27% -40.37% -6.78% -21.43% 0.85% 1.51% -20.74% 24.10% 117.61% 88.82% 169.28% 123.18% 80.71% 263.14% 164.42% 80.40% 9.85% -4.03% -22.35% 5.21% 4.03% -4.72% 8.48% 0.67% -17.59% -40.93% -6.05% 20.08% 285.54%   45.52%     
      qoq
    -4.16% -11.59% 39.40% 22.30% 64.57% -10.40% -40.92% -12.09% -23.83% -1.28% -18.71% -2.45% 19.08% -16.80% 4.34% -1.82% -7.01% 30.27% 82.96% -14.81% 32.61% 7.97% 48.14% 71.20% -3.44% -26.34% -9.80% 49.57% -21.87% -0.19% -10.81% 36.98% -11.04% -7.38% -26.99% -1.81% 41.49% 18.39% 134.41%     
      operating margin %
    -13.48% -16.53% -20.27% -15.83% -13.69% -9.02% -10.67% -20.38% -27.51% -41.85% -43.53% -58.16% -66.59% -59.58% -73.53% -72.17% -86.81% -99.70% -84.01% -53.23% -69.48% -59.79% -64.24% -40.06% -27.35% -31.51% -43.99% -50.10% -33.65% -43.35% -45.10% -56.23% -42.87% -45.26% -51.72% -80.65% -77.74% -50.21% -43.95% -15.71% 0% 0% -34.75% 
      interest expense
    -892,000 -1,045,000 -1,029,000 -1,005,000 -1,292,000 -3,142,000 -3,127,000 -3,124,000 -3,148,000 -3,252,000 -3,177,000 -3,061,000 -2,752,000 -2,330,000 -2,150,000 -2,087,000 -2,079,000 -2,078,000 -2,075,000 -2,073,000 -4,310,000 -4,270,000 -4,038,000 -2,464,000 -2,576,000 -2,672,000 -2,721,000 -2,724,000 -2,746,000 -2,781,000 -2,560,000 -2,389,000 -2,335,000 -1,477,000 -218,000 -183,000 -150,000 -146,000 -122,000 -115,000 -114,000 -1,177,000 -1,203,000 
      interest and other income
    9,600,000 11,284,000 10,738,000 13,419,000 10,906,000 11,618,000 10,457,000 10,267,000 9,844,000 5,406,000 4,518,000 4,585,000 2,373,000 87,000 277,000 801,000 1,151,000 1,274,000 1,585,000 1,371,000 1,901,000 1,749,000 1,924,000 1,987,000 2,190,000 673,000 836,000 453,000 618,000 449,000 -3,933,000 137,000 1,930,000 -437,000 -413,000 1,300,000 -5,000 887,000 -519,000 1,035,000    
      income before income taxes
    -84,808,000 -87,337,000 -100,663,000 -66,763,000 -55,126,000 -30,862,000 -36,572,000 -67,171,000 -77,840,000 -108,828,000 -111,085,000 -136,777,000 -142,152,000 -121,295,000 -144,958,000 -138,416,000 -140,594,000 -151,001,000 -115,784,000 -63,719,000 -76,377,000 -58,298,000 -59,622,000 -35,349,000 -35,197,000 -23,093,000 -30,521,000 -34,017,000 -31,855,000 -29,498,000 -33,711,000 -32,769,000 -45,321,000 -26,957,000 -27,668,000 -35,914,000 -37,868,000 -25,914,000      
      income tax expense
    -283,000 -207,000 -275,000 -173,000 1,355,000 -730,000  -428,000 -191,000 -202,000  -160,000 -421,000 -185,000 -193,000 -179,000 30,000 -272,000 -242,000 -134,000 -35,000 -25,000 -15,000 -23,000 14,000 -44,000 -1,895,000 -74,000 14,000 -118,000 -113,000 -104,000 -181,000 -162,000 -64,000 -47,000 -39,000 -103,000      
      net income
    -85,091,000 -87,544,000 -100,938,000 -66,936,000 -53,771,000 -31,592,000 -37,464,000 -67,599,000 -78,031,000 -109,030,000 -110,803,000 -136,937,000 -142,573,000 -121,480,000 -145,151,000 -138,595,000 -140,564,000 -151,273,000 -116,026,000 -63,853,000 -76,412,000 -58,323,000 -59,637,000 -35,372,000 -35,183,000 -23,137,000 -32,416,000 -34,091,000 -31,841,000 -29,616,000 -33,824,000 -32,873,000 -45,502,000 -27,119,000 -27,732,000 -35,961,000 -37,907,000 -26,017,000 -23,156,000 -8,685,000 -11,828,750 -17,630,000 -19,681,000 
      yoy
    58.25% 177.11% 169.43% -0.98% -31.09% -71.02% -66.19% -50.63% -45.27% -10.25% -23.66% -1.20% 1.43% -19.69% 25.10% 117.05% 83.96% 159.37% 94.55% 80.52% 117.18% 152.08% 83.97% 3.76% 10.50% -21.88% -4.16% 3.71% -30.02% 9.21% 21.97% -8.59% 20.04% 4.24% 19.76% 314.06% 220.46% 47.57% 17.66%     
      qoq
    -2.80% -13.27% 50.80% 24.48% 70.20% -15.67% -44.58% -13.37% -28.43% -1.60% -19.08% -3.95% 17.36% -16.31% 4.73% -1.40% -7.08% 30.38% 81.71% -16.44% 31.02% -2.20% 68.60% 0.54% 52.06% -28.62% -4.91% 7.07% 7.51% -12.44% 2.89% -27.75% 67.79% -2.21% -22.88% -5.13% 45.70% 12.36% 166.62% -26.58% -32.91% -10.42%  
      net income margin %
    -12.26% -14.83% -18.54% -13.39% -11.37% -7.24% -9.11% -18.54% -25.40% -41.11% -42.90% -57.59% -66.97% -60.79% -74.60% -72.94% -87.37% -100.41% -84.55% -53.94% -71.77% -62.52% -74.16% -40.64% -47.24% -34.57% -49.79% -53.80% -50.48% -47.26% -56.04% -60.57% -87.56% -49.01% -53.05% -78.32% -78.14% -49.01% -45.20% -14.21% -22.61% -39.69% -44.21% 
      unrealized gain on available-for-sale securities, net of tax and foreign currency translation adjustment
    56,000                                           
      comprehensive loss
    -85,035,000 -87,444,000 -101,028,000 -66,789,000 -53,350,000 -30,999,000 -36,630,000 -66,706,000 -75,720,000 -105,223,000 -108,208,000 -132,373,000 -139,326,000 -124,692,000 -147,644,000 -150,212,000 -144,342,000 -152,223,000 -116,782,000 -64,915,000 -77,323,000 -58,923,000 -59,533,000 -30,625,000 -35,122,000 -23,074,000 -31,355,000 -33,805,000 -31,499,000 -29,652,000 -33,778,000 -33,011,000 -45,872,000 -27,052,000 -27,670,000 -35,761,000 -38,966,000 -26,626,000 -22,608,000 -6,874,000    
      net income per share
                                               
      basic and diluted
    -0.6 -0.64 -0.74 -0.5 -0.41 -0.26 -0.3 -0.56 -0.64 -0.95 -0.97 -1.23 -1.37 -1.25 -1.5 -1.45 -1.49 -1.63 -1.32 -0.74 -0.91 -0.72 -0.75 -0.45                   -3.58 
      weighted-average number of shares used in computing basic and diluted net loss per share:
                                               
      basic and diluted
    141,502 137,187 136,388 134,750 124,718 123,775 122,853 120,814 114,997 115,171 113,690 111,767 98,408 97,052 96,579 95,578 90,558 92,558 88,077 86,689 81,011 80,908 79,069 78,287                    
      unrealized gain on available-for-sale securities, net of tax
     100,000 -90,000 147,000 421,000 593,000 834,000 893,000 2,311,000 3,807,000 2,595,000 4,564,000     -3,778,000 -950,000 -756,000 -1,062,000 -911,000 -600,000 104,000 4,747,000 61,000 63,000 1,061,000 286,000 342,000 -36,000 46,000 -138,000 -370,000 67,000 62,000 200,000 -1,059,000 -609,000 548,000 1,811,000    
      income tax benefit
          -892,000    282,000                                 
      unrealized loss on available-for-sale securities, net of tax
                -4,330,500 -3,212,000 -2,493,000 -11,617,000                            
      loss on debt extinguishment
                          -5,848,000                     
      gain from disposal of business
                             -14,388,000                  
      net income per share
                                               
      basic
                            -0.46 -0.33 -0.48 -0.54 -0.51 -0.49 -0.62 -0.61 -0.85 -0.51 -0.52 -0.68     -0.633 -0.39  
      diluted
                            -0.46 -0.33 -0.48 -0.54 -0.51 -0.49 -0.62 -0.61 -0.85 -0.51 -0.52 -0.7     -0.633 -0.39  
      weighted-average number of shares used in computing basic and diluted net loss per share:
                                               
      basic
                            69,555 70,456 68,224 62,831 57,848 60,570 54,551 54,132 53,312 53,447 53,088 52,758      44,944  
      diluted
                            69,555 70,456 68,224 62,831 57,848 60,570 54,551 54,132 53,604 53,447 53,088 53,043      44,944  
      other revenues
                                        579,500 799,000 753,000 766,000 584,000 498,000 568,000 
      interest benefit from changes in the fair value of long term debt
                                            1,276,000 1,810,000 -322,000 
      basic and diluted net loss per share
                                        -0.73 -0.5 -0.46 -0.17    
      weighted-average number of shares used in computing basic and diluted net loss per share
                                        51,576 52,012 51,445 50,439 26,204   
      interest expense from changes in the fair value of long-term debt
                                               
      interest expense from changes in the fair value of long term debt
                                               
      cost and expenses:
                                               
      gain from operations
                                            -17,348,000 -20,741,000  
      other income
                                            -6,774,000 2,478,000 -2,684,000 
      unrealized gain on available-for-sale securities
                                            9,000 36,000  
      comprehensive income
                                            -11,819,750 -17,594,000  
      net income attributable to common shares:
                                               
      basic
                                            -11,828,750 -17,630,000  
      diluted
                                            -11,828,750 -17,630,000  
      weighted-average number of shares used in computing net loss per share:
                                               
      basic
                            69,555 70,456 68,224 62,831 57,848 60,570 54,551 54,132 53,312 53,447 53,088 52,758      44,944  
      diluted
                            69,555 70,456 68,224 62,831 57,848 60,570 54,551 54,132 53,604 53,447 53,088 53,043      44,944  
      shares used to compute net loss per share attributable to common stockholders:
                                               
      basic and diluted
                                              5,494 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 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 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 
                                                 
        assets
                                                 
        current assets:
                                                 
        cash, cash equivalents and restricted cash
      1,087,932,000 1,041,438,000 1,000,021,000 973,768,000 945,587,000 892,844,000 796,798,000 813,817,000 642,095,000 668,710,000 381,113,000 403,154,000                                
        accounts receivable
      417,595,000 286,379,000 309,224,000 318,233,000 314,165,000 306,876,000 335,936,000 288,748,000 278,289,000 255,147,000 260,065,000 246,785,000 244,385,000 236,362,000 208,312,000 167,862,000 122,074,000 110,416,000 100,130,000 87,562,000 78,565,000 70,674,000 58,706,000 61,577,000 53,351,000 58,905,000 62,974,000 60,293,000 62,223,000 60,397,000 57,002,000 50,326,000 8,252,000 7,342,000 7,107,000 7,478,000 13,396,000 9,408,000 6,171,000 6,105,000 5,862,000 5,820,000 5,273,000 
        inventory
      70,721,000 64,644,000 54,272,000 50,367,000 44,744,000 48,724,000 40,985,000 43,024,000 40,759,000 42,076,000 42,688,000 40,683,000 35,406,000 40,428,000 30,465,000 25,048,000 26,909,000 28,022,000 28,409,000 23,676,000 20,031,000 20,377,000 18,033,000 14,161,000 12,394,000 12,514,000 15,236,000 13,748,000 13,633,000 12,244,000 12,324,000 11,911,000 8,998,000 9,188,000 7,359,000 8,223,000 6,414,000 9,249,000 8,893,000 6,689,000 8,093,000 12,724,000 14,633,000 
        prepaid expenses and other current assets
      75,565,000 53,862,000 52,104,000 56,185,000 48,635,000 44,631,000 37,798,000 46,734,000 60,524,000 33,496,000 26,818,000 29,988,000 33,634,000 31,599,000 24,041,000 35,130,000 29,645,000 28,858,000 30,878,000 26,430,000 26,606,000 15,227,000 15,536,000 15,590,000 16,376,000 13,954,000 5,721,000 5,555,000 6,197,000 6,399,000 7,225,000 5,915,000 8,612,000 6,437,000 5,748,000 7,907,000 7,097,000 9,394,000 5,633,000 3,927,000 5,337,000 4,982,000 3,537,000 
        total current assets
      1,651,813,000 1,447,323,000 1,431,596,000 1,416,385,000 1,375,820,000 1,322,565,000 1,301,816,000 1,261,444,000 1,258,549,000 1,267,276,000 1,065,512,000 1,129,468,000 1,211,817,000 829,629,000 901,555,000 980,226,000 1,093,138,000 1,191,223,000 739,888,000 791,403,000 862,663,000 916,012,000 663,504,000 497,208,000 523,167,000 323,737,000 321,967,000 208,081,000 240,518,000 248,688,000 165,370,000 187,523,000 144,788,000 169,240,000 123,104,000 140,161,000 174,115,000 212,278,000 237,175,000 248,625,000 250,726,000 246,293,000 85,831,000 
        property and equipment
      269,379,000 206,496,000 189,224,000 180,453,000 162,046,000 142,170,000 133,280,000 125,791,000 111,210,000 104,830,000 102,921,000 100,587,000 92,453,000 87,486,000 81,772,000 78,361,000 65,516,000 59,293,000 48,884,000 40,177,000 33,348,000 28,249,000 25,925,000 26,718,000 23,283,000 19,027,000 22,039,000 23,302,000 24,336,000 24,833,000 25,313,000 26,878,000 29,667,000 30,417,000 31,268,000 31,752,000 32,289,000 25,616,000 19,096,000 15,098,000 12,710,000 13,992,000 15,047,000 
        operating lease right-of-use assets
      133,987,000 96,988,000 95,128,000 94,631,000 86,149,000 87,856,000 52,582,000 54,553,000 56,537,000 58,206,000 61,942,000 69,537,000 71,874,000 73,791,000 62,147,000 64,401,000 59,013,000 47,656,000 48,337,000 49,526,000 21,399,000 20,296,000 21,475,000 22,620,000 23,730,000 24,807,000 26,229,000 27,260,000                
        goodwill
      140,857,000                                           
        intangible assets
      367,362,000                                           
        other assets
      51,000,000 70,675,000 41,118,000 40,897,000 36,720,000 38,356,000 29,311,000 26,417,000 15,403,000 16,208,000 17,518,000 19,288,000 18,330,000 18,206,000 21,502,000 21,676,000 18,820,000 13,202,000 12,847,000 12,406,000 14,743,000 12,156,000 12,357,000 12,093,000 12,476,000 12,679,000 13,091,000 2,802,000 3,317,000 3,446,000 3,336,000 3,912,000 3,979,000 4,057,000 3,711,000 3,769,000 3,934,000 4,149,000 4,654,000 1,683,000 1,121,000 654,000 4,446,000 
        total assets
      2,614,398,000 1,821,482,000 1,757,066,000 1,732,366,000 1,660,735,000 1,590,947,000 1,516,989,000 1,468,205,000 1,441,699,000 1,446,520,000 1,247,893,000 1,318,880,000 1,394,474,000 1,009,112,000 1,066,976,000 1,144,664,000 1,236,487,000 1,311,374,000 849,956,000 893,512,000 932,153,000 976,713,000 723,261,000 558,639,000 582,656,000 380,250,000 383,326,000 261,445,000 268,171,000 277,309,000 194,361,000 218,655,000 178,776,000 204,056,000 158,425,000 176,024,000 210,680,000 242,385,000 261,267,000 265,748,000 265,240,000 262,367,000 106,752,000 
        liabilities and stockholders’ equity
                                                 
        current liabilities:
                                                 
        accounts payable
      62,397,000 46,499,000 36,879,000 39,240,000 34,922,000 27,834,000 33,100,000 26,038,000 14,998,000 21,321,000 21,107,000 36,123,000 31,148,000 34,225,000 28,192,000 18,070,000 27,206,000 8,181,000 20,307,000 4,682,000 8,096,000 9,250,000 3,450,000 8,369,000 8,604,000 9,236,000 8,319,000 8,917,000 14,587,000 9,884,000 7,689,000 8,608,000 8,529,000 3,753,000 10,389,000 6,610,000 11,479,000 8,811,000 9,194,000 8,980,000 7,332,000 6,067,000 8,949,000 
        accrued compensation
      143,810,000 77,439,000 55,025,000 47,086,000 62,114,000 49,051,000 41,487,000 39,577,000 45,857,000 39,415,000 34,174,000 39,231,000 44,010,000 42,226,000 32,959,000 32,396,000 40,941,000 35,331,000 30,842,000 25,870,000 30,371,000 22,450,000 16,583,000 15,953,000 16,088,000 14,238,000 10,149,000 10,818,000 12,668,000 9,587,000 8,615,000 9,933,000 9,599,000 9,428,000 8,106,000 9,328,000 11,067,000 10,214,000 9,095,000 8,899,000 8,552,000 7,627,000 7,011,000 
        contingent consideration payable, current portion
      22,350,000                                           
        deferred revenue, current portion
      36,852,000 21,786,000 21,560,000 20,557,000 19,754,000 17,886,000 18,367,000 17,705,000 16,612,000 15,012,000 15,644,000 16,579,000 10,777,000 7,932,000 16,009,000 13,914,000 7,404,000 9,667,000 10,647,000 9,069,000 50,125,000 51,227,000 52,392,000 51,840,000 56,016,000 25,667,000 19,154,000 4,928,000 4,131,000 1,156,000 1,174,000 1,443,000            
        short-term debt financing
      80,305,000 80,341,000 80,338,000 80,345,000 80,362,000 80,469,000 80,389,000 80,401,000 80,402,000 80,435,000 80,418,000 80,398,000 80,350,000 50,147,000 50,086,000 50,055,000 50,052,000 50,049,000 50,049,000 50,052,000 50,054,000 50,052,000 50,053,000 50,087,000 50,123,000 50,131,000 50,146,000 50,154,000 50,153,000 50,135,000 50,132,000 50,125,000 50,112,000 50,097,000 50,022,000 49,807,000 49,624,000 49,473,000 49,327,000 42,205,000 42,090,000   
        other accrued liabilities
      212,543,000 215,951,000 191,034,000 178,449,000 146,893,000 126,176,000 141,231,000 142,228,000 149,405,000 133,740,000 125,513,000 118,638,000 144,214,000 132,751,000 124,372,000 116,637,000 93,353,000 96,486,000 86,143,000 77,296,000 60,407,000 62,893,000 53,082,000 50,393,000 49,043,000 38,702,000 39,157,000 37,839,000 32,442,000 31,067,000 30,520,000 31,523,000 33,207,000 23,022,000 25,612,000 23,928,000 19,879,000 23,347,000 23,586,000 20,715,000 18,708,000 17,488,000 14,024,000 
        total current liabilities
      558,257,000 442,016,000 384,836,000 365,677,000 344,045,000 301,416,000 314,574,000 305,949,000 307,274,000 289,923,000 276,856,000 290,969,000 310,499,000 267,281,000 251,618,000 231,072,000 218,956,000 199,714,000 197,988,000 166,969,000 199,053,000 195,872,000 175,560,000 176,642,000 179,874,000 137,974,000 126,925,000 112,656,000 113,981,000 101,829,000 98,130,000 104,383,000 105,511,000 91,530,000 98,270,000 93,015,000 96,415,000 95,979,000 95,488,000 84,153,000 80,475,000 35,028,000 38,515,000 
        contingent consideration payable, long-term portion
      103,204,000                                           
        deferred tax liability, long-term portion
      701,000                                           
        operating lease liabilities, long-term portion
      144,953,000 104,380,000 102,741,000 103,056,000 96,588,000 98,953,000 61,225,000 64,160,000 67,025,000 68,287,000 71,093,000 73,854,000 76,577,000 78,469,000 65,417,000 67,477,000 61,036,000 48,388,000 49,519,000 50,811,000 21,246,000 21,444,000 23,115,000 24,727,000 26,297,000 27,825,000 29,275,000 30,674,000                
        deferred revenue, long-term portion
      16,999,000        19,128,000 21,033,000 21,502,000 21,511,000 20,001,000 20,405,000 20,721,000 20,543,000 21,318,000 22,706,000 23,562,000 23,816,000 22,805,000 23,128,000 22,533,000 25,152,000 23,808,000 56,174,000 60,527,000 39,698,000 40,058,000 36,850,000 36,135,000 35,462,000            
        other liabilities
      16,266,000                                           
        total liabilities
      840,380,000 569,294,000 510,884,000 492,691,000 465,315,000 712,422,000 680,469,000 674,094,000 676,372,000 661,862,000 651,746,000 668,307,000 688,730,000 647,491,000 622,394,000 602,329,000 583,183,000 552,357,000 550,846,000 521,067,000 445,917,000 440,713,000 418,994,000 299,712,000 303,945,000 295,556,000 290,238,000 256,459,000 236,009,000 220,738,000 216,398,000 222,531,000 189,146,000 173,872,000 107,517,000 102,352,000 104,204,000 102,071,000 97,452,000 84,153,000 80,475,000 56,304,000 63,941,000 
        commitments and contingencies
                                                 
        stockholders’ equity:
                                                 
        common stock
      14,000 14,000 14,000 14,000 12,000 12,000 12,000 12,000 11,000 11,000 11,000 11,000 11,000 10,000 10,000 10,000 10,000 10,000 9,000 9,000 9,000 9,000 8,000 8,000 8,000 7,000 7,000 7,000 7,000 7,000 6,000 6,000 6,000 6,000 6,000 6,000 5,000 6,000 6,000 6,000 5,000 5,000 1,000 
        additional paid-in capital
      4,635,319,000 4,075,641,000 3,982,191,000 3,874,656,000  3,393,369,000 3,320,365,000 3,241,326,000  3,089,448,000 2,795,714,000 2,741,932,000             976,955,000                   
        accumulated deficit
      -2,861,113,000 -2,823,280,000 -2,735,736,000 -2,634,798,000 -2,567,862,000 -2,514,091,000 -2,482,499,000 -2,445,035,000 -2,377,436,000 -2,299,405,000 -2,190,375,000 -2,079,572,000 -1,942,635,000 -1,800,062,000 -1,678,582,000 -1,533,431,000 -1,394,836,000 -1,254,272,000 -1,102,999,000 -986,973,000 -929,318,000 -852,906,000 -794,583,000 -734,946,000 -699,171,000 -663,988,000 -640,851,000 -608,435,000 -574,529,000 -542,688,000 -513,072,000 -479,248,000 -482,162,000 -436,660,000 -409,541,000 -381,809,000 -345,848,000 -307,941,000 -281,924,000 -258,769,000 -250,083,000 -227,123,000 -209,494,000 
        accumulated other comprehensive loss
      -202,000 -187,000 -287,000 -197,000 -344,000 -765,000 -1,358,000 -2,192,000 -3,085,000 -5,396,000 -9,203,000 -11,798,000 -16,362,000 -19,609,000 -16,397,000 -13,904,000         919,000   -266,000 -552,000 -894,000 -858,000 -904,000 -766,000 -396,000 -463,000 -525,000 -725,000    -1,416,000   
        total stockholders’ equity
      1,774,018,000 1,252,188,000 1,246,182,000 1,239,675,000 1,195,420,000 878,525,000 836,520,000 794,111,000 765,327,000 784,658,000 596,147,000 650,573,000 705,744,000 361,621,000 444,582,000 542,335,000 653,304,000 759,017,000 299,110,000 372,445,000 486,236,000 536,000,000 304,267,000 258,927,000 278,711,000 84,694,000 93,088,000 4,986,000 32,162,000 56,571,000    30,184,000 50,908,000 73,672,000 106,476,000 140,314,000 163,815,000 181,595,000 184,765,000 206,063,000  
        total liabilities and stockholders’ equity
      2,614,398,000 1,821,482,000 1,757,066,000 1,732,366,000 1,660,735,000 1,590,947,000 1,516,989,000 1,468,205,000 1,441,699,000 1,446,520,000 1,247,893,000 1,318,880,000 1,394,474,000 1,009,112,000 1,066,976,000 1,144,664,000 1,236,487,000 1,311,374,000 849,956,000 893,512,000 932,153,000 976,713,000 723,261,000 558,639,000 582,656,000 380,250,000 383,326,000 261,445,000 268,171,000 277,309,000 194,361,000 218,655,000 178,776,000 204,056,000 158,425,000 176,024,000 210,680,000 242,385,000 261,267,000 265,748,000    
        short-term investments
       1,000,000 15,975,000 17,832,000 22,689,000 29,490,000 90,299,000 69,121,000 236,882,000 267,847,000 354,828,000 408,858,000 432,301,000 464,112,000 547,353,000 593,660,000 829,896,000 928,596,000 517,432,000 588,446,000 688,606,000 600,205,000 493,852,000 331,681,000 379,065,000 186,700,000 208,053,000 93,805,000 107,461,000 130,891,000 70,901,000 80,023,000 106,247,000 135,017,000 94,988,000 106,692,000 130,860,000 157,717,000 198,647,000 196,597,000 201,586,000 26,389,000  
        deferred revenue, long-term portion and other liabilities
       22,898,000 23,307,000 23,958,000 24,682,000 25,504,000 21,066,000 20,712,000                                    
        long-term debt financing
           286,549,000 283,604,000 283,273,000 282,945,000 282,619,000 282,295,000 281,973,000 281,653,000 281,336,000 281,020,000 280,706,000 280,394,000 280,085,000 279,777,000 279,471,000 202,493,000 199,959,000 197,476,000 72,881,000 73,656,000 73,583,000 73,511,000 73,431,000 73,357,000 73,284,000 73,211,000 73,138,000 73,065,000 73,202,000          
        additional paid in capital
          3,763,614,000    3,145,837,000    2,664,730,000 2,181,282,000 2,139,551,000 2,089,660,000 2,050,417,000 2,011,788,000 1,399,659,000 1,356,212,000 1,411,286,000 1,383,727,000 1,093,072,000 988,199,000  747,817,000 733,137,000 613,680,000 607,236,000 600,146,000 491,887,000 476,270,000 472,552,000 467,234,000 460,906,000 456,000,000 453,044,000 447,915,000 444,790,000 439,962,000 436,259,000 433,145,000 11,719,000 
        cash and cash equivalents
                  466,005,000 57,042,000 91,298,000 158,298,000 84,386,000 95,103,000 62,811,000 65,126,000 48,668,000 209,351,000 77,322,000 74,144,000 61,926,000 51,609,000 29,928,000 34,281,000 46,407,000 34,535,000 12,306,000 33,674,000 12,620,000 11,211,000 7,138,000 9,086,000 15,256,000 25,322,000 16,557,000 33,985,000 28,947,000 196,192,000  
        restricted cash
                  86,000 86,000 86,000 228,000 228,000 228,000 228,000 163,000 187,000 178,000 55,000 55,000  55,000 55,000                 
        other long-term liabilities
                    3,618,000 2,531,000 1,479,000 1,464,000   320,000 310,000 310,000 310,000 310,000        1,329,000           
        accumulated other comprehensive gain
                      -2,287,000 1,491,000 2,441,000 3,197,000 4,259,000                       
        accumulated other comprehensive income
                           5,170,000 5,770,000 5,666,000  858,000 795,000           334,000 943,000 396,000  36,000  
        restricted cash, current portion
                              55,000   399,000 4,597,000 4,222,000 5,612,000 5,674,000 59,000 45,000 764,000 775,000 1,092,000 1,188,000 1,274,000 1,322,000 901,000 186,000 145,000 
        deferred rent, net of current portion
                                  8,613,000 8,775,000 8,922,000 9,548,000 9,241,000 9,140,000 9,247,000 9,337,000 7,789,000 6,092,000      
        preferred stock, 0.0001 par value: 50,000 shares authorized; no shares issued and outstanding at december 31, 2019 and 2018, respectively
                                                 
        restricted cash, long-term portion
                                   342,000 342,000 342,000            
        warrants
                                     2,751,000 2,644,000 4,189,000 3,472,000 2,750,000 3,792,000 3,558,000 3,955,000 3,139,000 3,649,000 3,741,000 6,157,000 
        preferred stock, 0.0001 par value: 50,000 shares authorized; no shares issued and outstanding at december 31, 2018 and 2017, respectively
                                                 
        stockholders’ equity
                                                 
        total stockholders’ (deficit) equity
                                    -22,037,000 -3,876,000 -10,370,000           
        restricted cash, long term portion
                                      342,000 342,000 342,000 342,000 342,000 342,000 342,000 342,000 683,000 1,428,000 1,428,000 
        deferred revenue
                                      1,420,000 1,041,000 669,000 592,000 574,000 576,000 331,000 215,000 144,000 105,000 34,000 
        preferred stock, 0.0001 par value: 50,000 shares authorized; no shares issued and outstanding at december 31, 2017 and 2016, respectively
                                                 
        preferred stock, 0.0001 par value: 50,000 shares authorized; no shares issued and outstanding at december 31, 2016 and 2015, respectively
                                                 
        deferred rent
                                            1,964,000     
        liabilities, convertible preferred stock, and stockholders’ equity
                                                 
        equipment loan, current portion
                                                2,340,000 
        equipment loan, long term portion
                                                2,340,000 
        senior secured term loan
                                               21,276,000 23,086,000 
        total long-term liabilities
                                               21,276,000 25,426,000 
        convertible preferred stock, issuable in series, 0.0001 par value: 51,233 shares authorized at december 31, 2014, 31,397 shares issued and outstanding at december 31, 2014; aggregate liquidation preference of 133,757 at december 31, 2014
                                                 
        preferred stock, 0.0001 par value: 50,000 shares authorized; no shares issued and outstanding at december 31, 2015 and 2014, respectively
                                                 
        notes receivable from officers
                                                 
        total liabilities, convertible preferred stock, and stockholders’ equity
                                              265,240,000 262,367,000  
        liabilities, preferred stock, and stockholders’ equity
                                                 
        convertible preferred stock issuable in series, 0.0001 par value: 50,000 and 51,233 shares authorized as of september 30, 2015 and december 31, 2014, respectively, 0 and 31,397 shares issued and outstanding as of september 30, 2015 and december 31, 2014, respectively; aggregate liquidation preference of 0 and 133,757 as of september 30, 2015 and december 31, 2014, respectively
                                                 
        cash
                                                62,243,000 
        liabilities, preferred stock, and stockholders’ (deficit) equity
                                                 
        convertible preferred stock
                                                240,585,000 
        stockholders’ deficit:
                                                 
        total stockholders’ deficit
                                                -197,774,000 
        total liabilities, convertible preferred stock, and stockholders’ deficit
                                                106,752,000 
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-03-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 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 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 
                                                  
          operating activities
                                                  
          net loss
        -85,091,000 -87,544,000 -100,938,000 -66,936,000  -31,592,000 -37,464,000 -67,599,000 -78,031,000 -109,030,000 -110,803,000 -136,937,000  -121,480,000 -145,151,000 -138,595,000  -151,273,000 -116,026,000 -63,853,000 -76,412,000 -58,322,000 -59,637,000 -35,372,000  -23,137,000 -32,416,000 -34,091,000 -31,841,000 -29,616,000 -33,824,000 -32,873,000 -45,502,000 -27,119,000 -27,732,000 -35,961,000 -37,907,000 -26,017,000 -23,156,000 -8,685,000 -22,960,000  
          adjustments to reconcile net loss to net cash from operating activities:
                                                  
          depreciation and amortization
        14,517,000 10,292,000 9,859,000 9,237,000  8,200,000 7,915,000 7,063,000 6,911,000 6,985,000 5,124,000 5,077,000 3,930,000 5,141,000 4,629,000 3,002,000 2,995,000 2,997,000 2,713,000 2,549,000  2,179,000 2,210,000 1,826,000  1,969,000 2,032,000 1,920,000 1,927,000 1,895,000 1,819,000 1,860,000 1,823,000 1,700,000 1,862,000 1,758,000 1,999,000 1,749,000 1,234,000 1,194,000 1,172,000 1,389,000 
          amortization of acquired intangible assets
        5,709,000                                          
          amortization of premiums and accretion of purchase discounts on investment securities
         13,000 10,000 9,000                                       
          non-cash settlement expense
        1,226,000                                          
          non-cash lease expense
        5,931,000 5,403,000 4,959,000 4,389,000  3,965,000 3,611,000 3,593,000 3,508,000 3,560,000 3,645,000 3,806,000 3,781,000 3,337,000 3,347,000 3,305,000 2,820,000 2,749,000 2,686,000 2,671,000  1,939,000 1,940,000 1,940,000  1,958,000 1,959,000 1,890,000               
          stock-based compensation
        95,107,000 90,637,000 93,358,000 77,827,000  70,644,000 67,411,000 64,447,000 48,912,000 57,731,000 44,470,000 40,695,000 35,986,000 40,338,000 40,973,000 35,087,000 30,422,000 26,462,000 35,103,000 23,232,000  15,032,000 11,957,000 7,417,000  10,247,000 5,804,000 4,051,000 4,060,000 3,616,000 3,368,000 3,154,000 2,996,000 2,986,000 2,877,000 2,543,000 2,636,000 2,673,000 2,896,000 2,396,000   
          change in fair value of warrants and preferred stock of related party equity investment
        -166,000                                         
          revaluation of contingent consideration
        6,120,000                                          
          foreign exchange adjustment
        258,000 17,000 -106,000 138,000  -21,000 18,000 359,000 265,000                               
          non-cash interest expense
        -18,000 4,000 -7,000 -17,000  2,693,000 -12,000 -1,000 -33,000 17,000 20,000 48,000                               
          non-cash expense recovery
        -596,000 -362,000 -361,000 -361,000                                       
          changes in operating assets and liabilities:
                                                  
          accounts receivable
        -121,067,000 22,845,000 9,009,000 -4,068,000  29,060,000 -47,188,000 -10,459,000 -23,142,000 4,918,000 -13,280,000 -2,400,000 -7,178,000 -29,165,000 -41,619,000 -46,119,000 -11,121,000 -10,604,000 -12,631,000 -8,997,000  -11,968,000 2,814,000 -8,786,000  -1,662,000 -2,974,000 2,145,000 -1,633,000 -3,606,000 -6,570,000 -6,284,000 -1,146,000 -383,000 511,000 6,019,000 -4,618,000 -3,111,000 -311,000 -478,000 -293,000 -706,000 
          inventory
        -2,278,000 -10,372,000 -3,905,000 -5,623,000  -7,740,000 2,040,000 -2,265,000 1,316,000 612,000 -2,004,000 -5,277,000 5,115,000 -9,635,000 -5,469,000 1,732,000 1,211,000 274,000 -5,025,000 -3,966,000  -2,393,000 -3,707,000 -1,703,000  2,215,000 -1,599,000 -216,000 -1,423,000 -518,000 -2,959,000 101,000 -2,055,000 822,000 -1,954,000 725,000 -356,000 -2,204,000 1,404,000 4,792,000 1,228,000 
          operating lease right-of-use assets
        255,000                                          
          prepaid expenses and other assets
        -17,064,000 -2,387,000 2,759,000 -9,354,000  -7,211,000 6,446,000 14,428,000 -33,428,000 -5,234,000 10,252,000 2,338,000   11,093,000 -6,366,000                           
          accounts payable
        21,880,000 5,367,000 4,600,000 2,379,000  -5,827,000 5,936,000 10,732,000 -6,507,000 67,000 -14,780,000 5,762,000 -2,905,000 5,875,000 10,049,000 -7,557,000 19,039,000 -12,130,000 15,623,000 -3,310,000  3,071,000 -4,901,000 217,000  1,184,000 -912,000 -5,466,000 2,814,000 1,751,000 -835,000 51,000 4,765,000 -6,576,000 3,930,000 -1,902,000 -397,000 -497,000 325,000 1,825,000 1,252,000 -2,576,000 
          accrued compensation
        98,233,000 22,413,000 8,752,000 17,035,000  7,564,000 1,912,000 17,789,000 6,442,000 5,241,000 -5,057,000 14,993,000 1,784,000 9,267,000 563,000 -8,545,000 5,609,000 4,489,000 4,972,000 -4,501,000  5,867,000 630,000 -135,000  4,088,000 -669,000 -1,850,000 3,082,000 971,000 -1,317,000 333,000 172,000 1,322,000 -1,222,000 -1,739,000 853,000 1,119,000 196,000 347,000 925,000 616,000 
          operating lease liabilities
        -5,852,000 -4,938,000 -4,802,000 -4,505,000  -4,215,000 -4,147,000 -4,122,000 -4,024,000 -3,228,000 -3,019,000 -2,177,000 -2,170,000 -1,679,000 -2,763,000 -2,765,000                           
          other accrued liabilities
        12,105,000 7,733,000 13,598,000 26,866,000  -11,928,000 -2,973,000 -7,625,000 12,419,000 9,103,000 7,006,000 -18,181,000 12,228,000 5,897,000 8,189,000 21,336,000 -2,163,000 10,471,000 5,772,000 18,602,000  9,760,000 3,254,000 3,348,000  -648,000 1,313,000 1,018,000 1,978,000 -46,000 -953,000 -2,799,000 11,195,000 -3,769,000 1,881,000 5,612,000 5,859,000 1,708,000 -1,759,000 1,603,000 1,685,000 2,658,000 
          deferred revenue
        11,882,000 178,000 789,000 671,000  -1,982,000 251,000 793,000 -306,000 -1,100,000 -944,000 7,312,000 2,440,000 -8,393,000 2,274,000 5,735,000 -3,652,000 -1,836,000 1,324,000 -40,045,000  -570,000 -2,068,000 -2,832,000  7,372,000 35,055,000 437,000 6,183,000 697,000 404,000 35,485,000 379,000 371,000 78,000 18,000 -2,000 244,000 117,000 71,000   
          other long-term liabilities
        -920,000                                          
          net cash from operating activities
        40,171,000                  -70,563,000 -74,876,000  -33,130,000 -40,980,000 -35,100,000  -12,639,000 -3,932,000 -31,819,000 -12,813,000 -23,271,000 -35,543,000 1,046,000 -28,143,000 -30,583,000 -13,763,000 -24,303,000 -29,496,000 -24,216,000 -20,661,000 471,000 -4,689,000 -17,283,000 
          capital expenditures
        -3,921,000                  -5,841,000 -8,362,000  616,000 -4,615,000 -5,260,000  -1,222,000 -520,000 -756,000 -2,110,000 -543,000 -375,000 -852,000 -720,000 -1,081,000 -1,728,000 -6,338,000 -8,559,000 -7,266,000 -3,827,000 -3,484,000 -1,761,000 84,000 
          free cash flows
        36,250,000                  -76,404,000 -83,238,000  -32,514,000 -45,595,000 -40,360,000  -13,861,000 -4,452,000 -32,575,000 -14,923,000 -23,814,000 -35,918,000 194,000 -28,863,000 -31,664,000 -15,491,000 -30,641,000 -38,055,000 -31,482,000 -24,488,000 -3,013,000 -6,450,000 -17,199,000 
          investing activities
                                                  
          proceeds from maturity of investments
         15,000,000 2,000,000 5,000,000  85,900,000 52,435,000 169,065,000 132,500,000 90,250,000 56,000,000 27,250,000 63,000,000 72,500,000 81,000,000 184,500,000 142,900,000 65,486,000 140,024,000  104,500,000 49,030,000 93,785,000  56,000,000 30,280,000 32,500,000 79,000,000 25,000,000 19,600,000 8,000,000 106,875,000 121,325,000 3,000,000 30,500,000 16,000,000 8,000,000 10,000,000   
          purchases of property and equipment
        -22,137,000 -22,405,000 -25,897,000 -21,815,000  -16,312,000 -11,678,000 -20,315,000 -9,532,000 -9,101,000 -8,968,000 -11,598,000 -11,827,000 -12,209,000 -7,776,000 -15,885,000 -9,003,000 -13,136,000 -8,631,000 -10,260,000  -1,943,000 -2,213,000 -7,917,000  -955,000 -644,000 -955,000 -2,110,000 -543,000 -375,000 -852,000 -720,000 -1,081,000 -1,728,000 -6,338,000 -8,559,000 -7,266,000 -3,827,000 -3,484,000 -1,400,000 -415,000 
          investment in related party
        -10,000,000                                          
          net cash from investing activities
        -32,137,000                  59,969,000 86,740,000  -110,341,000 -165,446,000 43,492,000    12,917,000 21,688,000 -60,533,000 8,626,000 25,058,000 27,517,000 -41,239,000 9,786,000 17,720,000 16,938,000 32,527,000 -5,699,000 3,261,000 -177,874,000 -26,768,000 
          financing activities
                                                  
          proceeds from exercise of stock options
        3,863,000 1,935,000 340,000 544,000  1,720,000 2,182,000 6,466,000 391,000 562,000 638,000 2,301,000 440,000 1,393,000 422,000 4,156,000 1,042,000 3,945,000 2,259,000 4,570,000  4,974,000 6,982,000 3,826,000  4,433,000 3,405,000 2,578,000 1,268,000 7,866,000 3,632,000 565,000 481,000 895,000 526,000 413,000 873,000 454,000 962,000 1,306,000   
          stock issuance costs
        -105,000                                          
          net cash from financing activities
        3,758,000                  8,344,000 4,570,000  275,623,000 209,604,000 3,826,000  4,433,000 113,147,000 2,578,000 3,030,000 104,643,000 5,487,000 565,000 2,035,000 75,895,000 2,029,000 413,000 2,492,000 454,000 8,932,000 1,306,000 15,318,000 178,000,000 
          net change in cash, cash equivalents and restricted cash
        11,792,000 41,417,000 26,253,000 28,181,000 52,743,000 96,046,000 -17,019,000 171,722,000 -26,615,000 287,597,000 -22,041,000 -62,937,000                               
          cash, cash equivalents and restricted cash, beginning of period
        1,076,140,000 945,587,000 642,095,000  466,091,000  84,614,000  48,855,000  61,981,000 51,004,000 13,021,000           
          cash, cash equivalents and restricted cash, end of period
        1,087,932,000 41,417,000 26,253,000 973,768,000  96,046,000 -17,019,000 813,817,000  287,597,000 -22,041,000 403,154,000  -34,256,000 -67,142,000 158,526,000  32,292,000 -2,250,000 65,289,000  132,152,000 3,178,000 74,199,000  21,681,000 -4,697,000 34,680,000 11,905,000 20,839,000 -21,430,000 39,690,000           
          supplemental disclosure of cash flow information:
                                                  
          cash paid for interest
        889,000 1,044,000 1,029,000 1,005,000  1,193,000 4,413,000 1,179,000 4,439,000 1,311,000 4,472,000 1,124,000 4,052,000 396,000 3,453,000 159,000 3,387,000 152,000 3,386,000 152,000  161,000                   485,000 61,000 
          non-cash investing and financing activities:
                                                  
          purchases of property and equipment in accounts payable and accruals
        18,216,000 3,030,000 -9,042,000 4,223,000  -1,391,000 2,133,000 112,000 2,750,000 -1,271,000 -1,510,000 1,613,000 -2,398,000 -1,577,000 -61,000 2,096,000 216,000 269,000 2,790,000 1,898,000  2,559,000 -2,402,000 2,657,000  -267,000 124,000 199,000               
          acquisition of warrants and warrants receivable
        7,162,000                                          
          consideration for business combination
        -213,000                                          
          issuance of common stock for intangible assets
        774,000                                          
          issuance of common stock for bonuses
        47,026,000 812,000 32,063,000  24,071,000 3,000                                 
          stock-based compensation included in capitalized software development costs
        391,000 878,000 789,000 608,000  640,000 584,000 505,000                                   
          amortization of debt discount and issuance cost
             333,000 330,000 328,000 326,000 324,000 322,000 320,000 318,000 316,000 313,000 312,000 310,000 307,000 306,000 304,000  -2,031,000                     
          cash from operating activities
         59,387,000 37,574,000 44,452,000 52,887,000 51,786,000 3,990,000 27,001,000  -29,555,000 -78,385,000 -80,890,000  -102,248,000 -110,849,000 -137,277,000                           
          purchases of investments
             -49,200,000       -6,991,000 -54,979,000 -24,977,000 -201,723,000 -603,318,000 -28,030,000 -43,024,000  -212,898,000 -212,263,000 -53,876,000  -34,833,000 -143,548,000 -18,628,000 -55,202,000 -94,482,000 -10,598,000 -9,986,000 -88,556,000 -180,044,000 -224,000 -3,995,000 -5,003,000 -18,401,000 -16,039,000 -14,079,000 -176,937,000  
          proceeds from sale of investments
                    33,744,000 22,799,000 25,044,000 166,895,000 110,017,000 46,419,000    11,500,000     9,492,000 -1,000 27,896,000 9,918,000 18,561,000 11,738,000 25,053,000 42,419,000 6,167,000 10,599,000   
          cash paid for acquisition of intangible assets
                                                 
          cash from investing activities
         -19,905,000 -23,897,000 -16,815,000 -11,118,000 42,540,000 -32,053,000 138,255,000  81,149,000 47,032,000 15,652,000  66,599,000 34,789,000 207,033,000                           
          proceeds from the issuance of common stock under the employee stock purchase plan
                                                
          cash from financing activities
         1,935,000 12,576,000 544,000 10,974,000 1,720,000 11,044,000 6,466,000  236,003,000 9,312,000 2,301,000  1,393,000 8,918,000 4,156,000                           
          amounts accrued for acquisition of intangible assets
                                                 
          acquisition of warrants
              1,884,000                                   
          change in fair value of warrants and preferred stock
           -3,235,000                                       
          ​
                                                  
          cash, cash equivalents and restricted cash, end of year
                                                  
          expensed in-process research and development
                2,679,000                              
          proceeds from public offering, net of issuance cost
                       8,000                          
          acquisition of warrants and warrant receivable
                                                  
          issuance of common stock for ipr&d acquisition
                 14,435,000                               
          premium amortization and discount accretion on investment securities
              -96,000 -460,000 -842,000 479,000 663,000 787,000 866,000 1,011,000 1,170,000 1,790,000 2,107,000 1,917,000 1,693,000 2,097,000  1,446,000 1,166,000 721,000  249,000 81,000 70,000 -26,000 -46,000 166,000 144,000 154,000 188,000 246,000 269,000       
          cash paid for acquisition of an asset
               -10,495,000         -4,287,000                          
          operating activities:
                                                  
          loss on investments
                     329,000 157,000 46,000 12,000 -23,000            10,000 32,000  8,000         
          investing activities:
                                                  
          financing activities:
                                                  
          proceeds from issuance of common stock under employee stock purchase plan
                6,454,000   4,541,000   7,465,000         1,762,000   1,841,000   1,619,000      
          proceeds from credit line
                                                  
          beginning cash, cash equivalents and restricted cash
                                                  
          ending cash, cash equivalents and restricted cash
                                                  
          cash paid for income taxes
                                                  
          issuance of common stock for ipr&d milestone
                                                  
          amortization of other assets
                       143,000                           
          issuance of common stock for bonus
                   19,771,000                               
          net income
                                                  
          adjustments to reconcile net income to net cash from operating activities:
                                                  
          inventory reserve adjustments
                    -92,000 -329,000 53,000 128,000 -98,000 114,000 296,000 316,000                       
          (gain) loss on investments
                                                  
          unrealized losses on investment securities
                    10,000   -281,000                           
          other non-cash benefits
                    202,000 61,000 35,000 4,000 -39,000 16,000 61,000 56,000                       
          benefit from credit losses
                                                  
          loss on debt extinguishment
                            -11,696,000                     
          accretion of convertible note
                                                  
          prepaid expenses and other current assets
                    -1,882,000    -2,694,000 -385,000 -7,435,000 -31,000  -1,678,000 -2,383,000 -3,227,000  -4,857,000 -2,329,000 -2,135,000 272,000 807,000 -960,000 2,524,000 -2,175,000 -689,000 2,159,000 -810,000 1,980,000 -3,761,000 -1,706,000 1,410,000 -129,000 -1,445,000 
          other assets
                    194,000    -2,383,000 -527,000    -2,000 99,000  200,000 -9,700,000 201,000 33,000 -113,000 200,000 215,000 124,000 253,000 58,000 165,000 216,000 -2,496,000 29,000 -561,000 -468,000 -236,000 
          other long term liabilities
                                                  
          proceeds from convertible note, net of issuance costs
                                                  
          loan payment
                                                 
          net increase in cash equivalents and restricted cash
                                                  
          beginning - cash equivalents & restricted cash
                                                  
          ending - cash equivalents and restricted cash
                                                  
          provision for credit losses
                     1,114,000 1,170,000 331,000  317,000    58,000 1,387,000                   
          net increase in cash, cash equivalents and restricted cash
                     -34,256,000 -67,142,000 73,912,000  32,292,000 -2,250,000 16,434,000  132,152,000 3,178,000 12,218,000 10,317,000 21,681,000 -4,697,000 -16,324,000 11,905,000 20,839,000 -21,430,000 26,669,000           
          impairment of assets
                                    1,544,000 576,000 1,731,000 387,000 20,000 299,000  
          gain on disposal of business
                                                  
          net proceeds from disposal of business
                                                  
          revenues:
                                                  
          product revenues
                                                  
          licensing and other revenues
                                                  
          total revenues
                                                  
          cost and expenses:
                                                  
          cost of product revenues
                                                  
          cost of licensing and other revenues
                                                  
          research and development
                                                  
          selling, general and administrative
                                                  
          total cost and expenses
                                                  
          loss from operations
                                                  
          interest expense
                                                  
          interest and other income
                                                  
          loss before income taxes
                                                  
          income tax expense
                                                  
          impairment of right-of-use assets
                                                  
          provision for doubtful accounts
                                    -193,000 210,000 -106,000 48,000 236,000 147,000 -139,000 -101,000 630,000 -125,000 245,000 234,000 250,000  
          supplemental non-cash investing and financing activities:
                                                  
          obtaining right-of-use assets in exchange for lease liabilities
                                 28,191,000               
          other non-cash charges
                              -284,000 -57,000  -225,000 195,000 8,000               
          proceeds from convertible notes
                                                  
          proceeds from public offering
                                                  
          inventory excess adjustments
                               -64,000  507,000 111,000 101,000 35,000 78,000 107,000 45,000 89,000 226,000 42,000 145,000       
          amortization of debt discount
                               121,000  121,000 117,000 98,000 98,000 98,000 97,000 98,000 103,000         
          interest accrued for borrowings and claims related settlement
                                    1,983,000              
          loss on disposal of property and equipment
                                        12,000       
          loss from changes in fair value of warrants
                                    -1,000 4,011,000 108,000 -1,545,000 717,000   234,000 -397,000 816,000 -510,000 -28,000  
          deferred rent, net of current portion
                                    -162,000 -146,000 -627,000 307,000 101,000 -106,000 -91,000 1,548,000       
          proceeds from public offering, net of issuance costs
                                                  
          net cash from (provided by) investing activities
                                                  
          loss realized on investment securities
                                                  
          loss on sales of property and equipment
                                                  
          proceeds from equity offering, net of issuance costs
                                                 
          borrowings under long-term debt facility
                                                 
          payment for debt issuance costs on long-term debt facility
                                                  
          borrowings under credit facility
                                                
          repayment under credit facility
                                                
          issuance of common stock for exercise of warrants
                                                  
          issuance of common stock for lender's commitment to debt financing
                                                  
          interest accrued for borrowings
                                      7,000 13,000           
          gain from change in fair value of long-term debt
                                                  
          restricted cash
                                        -14,000 719,000 11,000 317,000 96,000 86,000 47,000 -79,000 30,000 -41,000 
          proceeds from sale of property and equipment
                                              225,000   
          proceeds from issuance of common stock, net of issuance costs
                                                  
          proceeds from short-term financing
                                                  
          costs paid for loan
                                                  
          repayments of equipment financing
                                                -4,680,000 
          repayments of secured financings
                                                  
          proceeds from collection of officer receivable
                                                
          payment to lender for debt extinguishment
                                                  
          net decrease in cash
                                        1,409,000 4,073,000         
          cash at beginning of period
                                        15,256,000 28,947,000 
          cash at end of period
                                        1,409,000 4,073,000 -1,948,000 9,086,000 -10,066,000 8,765,000 -17,428,000 33,985,000 -167,245,000 133,949,000 
          conversion of convertible preferred stock to common stock
                                                 
          non-cash interest accrual
                                         1,426,000 215,000 184,000 150,000 146,000     
          gain on investments
                                           40,000  -80,000 -28,000 -84,000   
          gain from changes in fair value of warrants
                                           -1,042,000       
          net increase in cash
                                           -6,170,000 -10,066,000   5,038,000 -167,245,000  
          amortization of premium on investment securities
                                            300,000 384,000 397,000 364,000   
          gain realized on investment securities
                                                  
          gain from change in fair value of long term debt
                                                  
          income taxes payable
                                                  
          proceeds from issuance of preferred stock
                                                  
          proceeds from equipment financing
                                                  
          change in restricted cash
                                                  
          deferred offering costs
                                                  
          purchases of property and equipment through accounts payable and accruals
                                                -361,000 499,000 
          gain on sales of property and equipment
                                                  
          loss from change in fair value of long term debt
                                                -1,276,000  
          deferred rent
                                             4,128,000     
          proceeds from initial public offering, net of issuance costs
                                                  
          accretion of convertible notes
                                                  
          non-cash interest
                                                  
          bridge loan
                                                  
          proceeds from senior secured term loan
                                                  
          non-cash property and equipment purchase
                                                 
          conversion of c and d notes
                                                  
          conversion of bridge loan
                                                  
          (gain) on sales of property and equipment
                                                  
          stock based compensation
                                                 2,166,000 
          proceeds from issuance of common stock
                                                 180,313,000 
          costs paid for senior secured term loan
                                                  
          income from changes in fair value of warrants
                                                  
          (gain)/income from change in fair value of long term debt
                                                  
          benefit from doubtful accounts
                                                  
          costs paid for issuance of preferred stock
                                                  
          non cash property and equipment purchase