v3.24.0.1
STOCKHOLDERS' EQUITY - Common Stock, Warrants, Conversion of Convertible Notes and Exercise of Convertible Note Hedges and Share Repurchase Program Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended 67 Months Ended
May 15, 2023
shares
Dec. 31, 2023
USD ($)
vote
class
shares
Dec. 31, 2023
USD ($)
class
shares
Oct. 31, 2023
USD ($)
Nov. 13, 2020
$ / shares
shares
Mar. 05, 2020
$ / shares
shares
May 25, 2018
$ / shares
shares
Class of Stock [Line Items]              
Number of classes of common stock | class   2 2        
Authorized repurchase amount | $       $ 1,000,000      
Aggregate amount on stock repurchased | $   $ 156,812          
Remaining authorized repurchase amount | $   $ 843,200 $ 843,200        
Common Stock              
Class of Stock [Line Items]              
Number of stock repurchased (in shares)   2,466,000          
Aggregate amount on stock repurchased | $   $ 156,800          
Common Stock Warrant, 2023 Notes              
Class of Stock [Line Items]              
Outstanding warrants to purchase aggregate shares of capital stock (in shares)             11,100,000
Exercise price of warrants (in USD per share) | $ / shares             $ 109.26
Warrants term   60 days 60 days        
Number of warrants exercised (in shares)   0 0        
Shares received upon exercise of convertible notes (in shares)   0 3,000,000        
Common Stock Warrant, 2025 Notes              
Class of Stock [Line Items]              
Outstanding warrants to purchase aggregate shares of capital stock (in shares)           8,260,000  
Exercise price of warrants (in USD per share) | $ / shares           $ 161.34  
Warrants term   60 days 60 days        
Common Stock Warrant, 2026 Notes              
Class of Stock [Line Items]              
Outstanding warrants to purchase aggregate shares of capital stock (in shares)         1,900,000    
Exercise price of warrants (in USD per share) | $ / shares         $ 368.16    
Warrants term   60 days 60 days        
Common Stock Warrant, 2027 Notes              
Class of Stock [Line Items]              
Outstanding warrants to purchase aggregate shares of capital stock (in shares)         1,900,000    
Exercise price of warrants (in USD per share) | $ / shares         $ 414.18    
Warrants term   60 days 60 days        
Class A Common Stock              
Class of Stock [Line Items]              
Number of votes per share | vote   1          
Class B Common Stock              
Class of Stock [Line Items]              
Number of votes per share | vote   10          
Convertible Debt | 2023 Convertible Notes              
Class of Stock [Line Items]              
Shares received upon exercise of convertible notes (in shares) 5,200,000 0 5,200,000