The Company and a Summary of its Significant Accounting Policies - Summary of Percentages of Total Revenue or Accounts Receivable for Third Party Payers and Pharmaceutical Customers (Details) - Customer Concentration Risk
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Assay Revenue Payor A | Total Revenue      
Product Information [Line Items]      
Concentration risk, percentage 36.00% 32.00%  
Assay Revenue Payor A | Accounts Receivable      
Product Information [Line Items]      
Concentration risk, percentage 23.00% 21.00%  
Assay Revenue Payor B | Total Revenue      
Product Information [Line Items]      
Concentration risk, percentage   11.00% 12.00%
Assay Revenue Payor B | Accounts Receivable      
Product Information [Line Items]      
Concentration risk, percentage 15.00%    
Contract Revenue Customer A | Total Revenue      
Product Information [Line Items]      
Concentration risk, percentage   23.00% 22.00%
Contract Revenue Customer B | Accounts Receivable      
Product Information [Line Items]      
Concentration risk, percentage   17.00%  
Contract Revenue Customer C | Total Revenue      
Product Information [Line Items]      
Concentration risk, percentage     29.00%