XML 65 R46.htm IDEA: XBRL DOCUMENT v3.22.0.1
Summary of Significant Accounting Policies and Recent Accounting Pronouncements - Additional Information (Detail)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
Segment
Dec. 31, 2019
USD ($)
Summary Of Significant Accounting Policies [Line Items]      
Number of operating segments | Segment   1  
Percentage of discount recognized on graded-vesting based on stock-based compensation expense over the purchase period 15.00%    
Right of use assets $ 45,531 $ 91,761  
Operating lease liabilities 56,561    
Net loss (418,780) $ (554,128) $ (715,075)
ASU 2020-06 [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Increase in convertible notes 96,800    
Decrease in accumulated deficit (60,200)    
Decrease in additional paid-in-capital (157,000)    
Net loss $ 22,400    
Effect on diluted net earnings (loss) per share | $ / shares $ 0.28    
Employee Stock Purchase Plan [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Percentage of closing price of common stock 85.00%    
Patents [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Initial term of patents 20 years    
Outside of U.S. [Member] | Product Revenues [Member] | Customer One [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 48.00% 47.00% 43.00%
Outside of U.S. [Member] | Product Revenues [Member] | Customer Two [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 39.00% 39.00% 41.00%
Outside of U.S. [Member] | Product Revenues [Member] | Customer Three [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 10.00% 11.00% 13.00%
Outside of U.S. [Member] | Accounts Receivable [Member] | Customer One [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 41.00% 45.00%  
Outside of U.S. [Member] | Accounts Receivable [Member] | Customer Two [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 41.00% 41.00%  
Outside of U.S. [Member] | Accounts Receivable [Member] | Customer Three [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Concentration of credit risk percentage 10.00% 9.00%  
Minimum [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Accounts receivable payment term 60 days    
Minimum [Member] | Outside of U.S. [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Accounts receivable payment term 45 days    
Maximum [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Accounts receivable payment term 91 days    
Maximum [Member] | Outside of U.S. [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Accounts receivable payment term 150 days